How to set Annotation Font Size "Auto"

PDF-XChange Editor SDK for Developers

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

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
prime clinical systems
User
Posts: 204
Joined: Sun Aug 05, 2012 5:20 pm

How to set Annotation Font Size "Auto"

Post by prime clinical systems » Mon Jan 13, 2020 5:36 pm

Hi.. what value does one use for this to set the auto font size?
aWData.DefaultFontSize = CDbl(FontSize)

thanks

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

Re: How to set Annotation Font Size "Auto"

Post by Sasha - Tracker Dev Team » Tue Jan 14, 2020 10:37 am

Hello prime clinical systems,

Can you show the correspondent functionality from the End-User Editor?

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

prime clinical systems
User
Posts: 204
Joined: Sun Aug 05, 2012 5:20 pm

Re: How to set Annotation Font Size "Auto"

Post by prime clinical systems » Tue Jan 14, 2020 8:27 pm

Properties of text type form field
Capture.JPG

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

Re: How to set Annotation Font Size "Auto"

Post by Sasha - Tracker Dev Team » Wed Jan 15, 2020 1:42 pm

Hello prime clinical systems,

Try setting the IPXC_AnnotData_Widget::DefaultFontSize to 0 - that should trigger the auto size.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply