Hi All,
I am making an evaluation.
I am interesting in form flattening. I want to flatten form field and do not reset font, color and rotation information.
When I use CreateLabel I need to set up font and font size. But I want to use field settings.
Can I do it?
Form Flattening
Re: Form Flattening
Support · Oct 19, 2009Hello,
It is not possible to read the font name and font size for any frm field that already exists on the PDF document. When using the CreateLabel method, you will have to know this information before hand.
Thanks,
ceTe Software Support Team
Re: Form Flattening
Forum member · Nov 5, 2009Why is it not possible? The data exists, is it just not exposed? What would be the harm exposing it?
Re: Form Flattening
Support · Nov 5, 2009You are correct that that information does technically exist within the PDF. The problem on exposing it is slightly more complicated than just getting it and exposing it through the API. Specifically, to get that information (font, font size, etc. of the form fields) would require that all the form fields on the PDF be pulled out and completely parsed through. This is just not done (and not necessary to do) for filling out the fields. The other thing with this is that it would essentially increase the time for processing the PDF (because of the parsing through the form fields).
Now, with all that said, this is something that we do potentially have the ability to add to the API. We would need to evaluate what it would take to get this implemented and how long that might take. If you wish to remain updated on the status of potentially adding this as a new feature then please send an email over to support, [^a|mailto:support@cete.com|support@cete.com^].
Thanks,
ceTe Software Support Team