Print Page | Close Window

How to set special FontId to formfields?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3465
Printed Date: 05 May 24 at 4:10PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: How to set special FontId to formfields?
Posted By: skoschke
Subject: How to set special FontId to formfields?
Date Posted: 22 May 17 at 11:16AM
Hi

i have added several fonts to my document with AddStandardFont(...).

Now i want to set the font of a formfield to Standardfont(3), how can i do this?

And then, if i load a pdf, how to get the font settings of the formfield back?

Thanks
Stefan



Replies:
Posted By: Ingo
Date Posted: 22 May 17 at 8:32PM
Hi Stefan,

how to add (and switch on) a font to a formfield you can see in this post:
http://www.quickpdf.org/forum/findformfieldbytitle_topic879.html

Here you can see how to extract the properties of form fields:
http://www.debenu.com/kb/programmatically-extract-form-field-data-pdf-files/

Additionally have a look on:
SetFormFieldStandardFont
SetFormFieldFont
GetFormFontCount
GetFormFieldFontName
and so on ...

As far as i know you can get back the form field properties but not the form field font properties.




-------------
Cheers,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk