PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Applies an approval signature to an existing PDF.
Example
MySignature is pdfSignature
MySignature..Certificate = CertificateLoad("test.pfx", "pwd")
// It is an approval signature, its
// minimum size must be set to 1X1
MySignature..X=1
MySignature..Y=1
MySignature..Height = 1
MySignature..Width = 1
PDFSign("mypdf.pdf", MySignature)
Syntax
<Result> = PDFSign(<Name of PDF File to Sign> , <Signature>)
<Result>: Boolean
  • True if the PDF file was signed,
  • False otherwise.
<Name of PDF File to Sign>: Character string (with quotes)
Name and path of PDF file to sign.
<Signature>: pdfSignature variable
Name of pdfSignature variable corresponding to the description of the approval signature that will be applied to the PDF file.
Remarks
  • The signature applied by PDFSign is an approval signature. The PDF file can be signed and countersigned several times.
  • This signature must correspond to a control of PDF file (its minimum size will be set to 1 X 1 mm²). The Signature control can be invisible but we advise you to associate it with a caption or an image in order for the user to see this signature and to click it.
  • The encrypted PDF files (with password) are not supported.
  • The PDF files whose version is later than PDF 1.5 will be saved in version PDF 1.4 before they can be signed.
  • Caution: In order for a signed PDF file to be recognized by Acrobat, the company issuing the signature certificate must be member of AATL list (Adobe Authorized Trust List) or member of CDS program (Certified Document Services).
    If the certificate is not recognized, Acrobat will display a banner saying "At least one signature presents a problem...".
Components
WINDEVWEBDEV - Server codeReports and Queries wd230prn.dll
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment