-
Apr 13th, 2021, 03:03 AM
#1
Thread Starter
Fanatic Member
Transparent text
Is there any reason why text would print opaque when the fonttransparent property of the picturebox is set to true?
PK
-
Apr 13th, 2021, 04:11 AM
#2
Re: Transparent text
Originally Posted by Peekay
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
-
Apr 13th, 2021, 04:22 AM
#3
Thread Starter
Fanatic Member
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
-
Apr 14th, 2021, 11:34 PM
#4
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|