how to change the PDF field format
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=3114
Printed Date: 28 Apr 24 at 9:08PM Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com
Topic: how to change the PDF field format
Posted By: PeterXie
Subject: how to change the PDF field format
Date 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!
|
Replies:
Posted By: PeterXie
Date Posted: 12 May 15 at 7:28AM
The original request is illustrated below:
|
Posted By: mLipok
Date Posted: 13 May 15 at 5:26PM
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
|
Posted By: PeterXie
Date Posted: 14 May 15 at 2:04AM
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!
|
|