ShowTextBlock and Alpha?

A forum for questions or concerns related to the PDF-XChange Core API SDK

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
whoit
User
Posts: 269
Joined: Tue Jul 07, 2015 3:30 pm

ShowTextBlock and Alpha?

Post by whoit »

Is there a way to use an alpha channel with ShowTextBlock so that my text
can be semi-opaque?
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: ShowTextBlock and Alpha?

Post by Sasha - Tracker Dev Team »

Hello whoit,

You can set the fill and stroke opacity for the content creator itself:
IPXC_ContentCreator::SetFillAlpha/SetStrokeAlpha
In your case you will have to set the Fill Alpha. The percent values are from 0.0 to 1.0

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
whoit
User
Posts: 269
Joined: Tue Jul 07, 2015 3:30 pm

Re: ShowTextBlock and Alpha?

Post by whoit »

Hi Alex -

OK, thanks.

-Wayne
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: ShowTextBlock and Alpha?

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply