PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WINDEV and WEBDEV 27 feature!
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 document>.GetSignature(<Index>)
<Result>: Buffer
Document signature.
<PDF document>: PDF Reader control
PDF document to be analyzed. This document can correspond to:
  • to a variable of type pdfDocument.
  • WINDEV a PDF Reader control.
<Index>: Integer
Signature index in the document (returned by <PDF reader>.NbSignatures).
Component: wd270wdpdf.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment