ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / PDF functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Gets the signature of a PDF document as a buffer. The corresponding certificate can be extracted using CertificateExtract.
Example
PDF_PDFReader = PDFOpen("test.pdf")
 
// Number of signatures in the PDF file
nNbSignatures is int = PDF_PDFReader.NbSignatures()
 
// Get signature details
POUR i = 1 _TO_ nNbSignatures
// Get signature
bufSignature is Buffer = PDF_PDFReader.GetSignature(i)
 
// Get signature date
dtSignatureDate is DateTime = PDF_PDFReader.GetSignatureDate(i)
 
// Get certificate
Certif is Certificate = CertificateExtract(bufSignature)
END
Syntax
<Result> = <PDF Reader control>.GetSignature(<Index>)
<Result>: Buffer
Document signature.
<PDF Reader control>: Control name
PDF Reader control that contains the document to be analyzed.
<Index>: Integer
Index of the signature in the document (the number of signatures is returned by <PDF reader>.NbSignatures).
Component: wd300wdpdf.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/18/2024

Send a report | Local help