Results 1 to 4 of 4

Thread: Transparent text

  1. #1

    Thread Starter
    Fanatic Member Peekay's Avatar
    Join Date
    Sep 2006
    Location
    Witbank, South Africa
    Posts
    784

    Transparent text

    Is there any reason why text would print opaque when the fonttransparent property of the picturebox is set to true?

    PK

  2. #2
    PowerPoster
    Join Date
    Jun 2013
    Posts
    7,219

    Re: Transparent text

    Quote Originally Posted by Peekay View Post
    Is there any reason why text would print opaque when the fonttransparent property of the picturebox is set to true?
    If you select your own Font into the PicBox-hDC, then you will have to use SetBkMode:
    https://docs.microsoft.com/en-us/win...ngdi-setbkmode

    Olaf

  3. #3

    Thread Starter
    Fanatic Member Peekay's Avatar
    Join Date
    Sep 2006
    Location
    Witbank, South Africa
    Posts
    784

    Re: Transparent text

    Hi Olaf,

    In this specific case I am not using PicBox-hDC and only use the normal Print function setting FontTransparent=true. I must admit, however, that I have a feeling that the fonts may be adulterated or contaminated from my earlier use of the PicBoc-hDC in the routine.
    Thanks for that link, I will check.

    PK

  4. #4

    Thread Starter
    Fanatic Member Peekay's Avatar
    Join Date
    Sep 2006
    Location
    Witbank, South Africa
    Posts
    784

    Re: Transparent text

    Olaf,

    It works excellently thanks.

    PK

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width