Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
how to change the PDF field format |
Post Reply |
Author | |
PeterXie
Beginner Joined: 08 Aug 12 Status: Offline Points: 10 |
Post Options
Thanks(0)
Posted: 11 May 15 at 11:31AM |
Hi,
I am using QPDF v0913 for Delphi, there is a function to get the field format "GetFormFieldJavaScript", which returns "afnumber_format(2, 0, 0, 0, "", false);" indicating i am using format "Number", style ""," thousands and "." decimal" with 2 decimal digits, that is perfect! The question is "how to change the format"? There has no "SetFormFieldJavaScript", i found the function "FormFieldJavaScriptAction", calling this function like this "FormFieldJavaScriptAction(_FieldIndex, 'F', "afnumber_format(4, 0, 0, 0, "", false);")" could not change the format to have a 4 decimal digits, instead it added a custom format script. Please tell me how to change each element of the format. Thanks! |
|
PeterXie
Beginner Joined: 08 Aug 12 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
The original request is illustrated below:
|
|
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
|
below:
... ... where ?
|
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
PeterXie
Beginner Joined: 08 Aug 12 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Thank you for your reply!
I've got the answer from the support team. BTW, this forum allowed me to paste a picture from clipboard, but failed to display it. Uploading a picture to cloud server and then providing the URL is annoying to me. Thanks all the same! |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store