ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / PDF functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Gets the signature of a PDF document as a buffer. The corresponding certificate can be extracted using CertificateExtract.
New in version 2025
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
Example
MyPDF is pdfDocument = PDFOpen("test.pdf")

// Number of signatures in the PDF file
nNbSignatures is int = MyPDF.NbSignatures()

// Get signature details
FOR i = 1 _TO_ nNbSignatures
	// Get signature
	bufSignature is Buffer = MyPDF.GetSignature(i)

	// Get signature date
	dtSignatureDate is DateTime = MyPDF.GetSignatureDate(i)

	// Get certificate
	Certif is Certificate = CertificateExtract(bufSignature)
END
Syntax
<Result> = <PDF document>.GetSignature(<Index>)
<Result>: Buffer
Document signature.
<PDF document>: pdfDocument variable
<Index>: Integer
Index of the signature in the document (the number of signatures is returned by <pdfDocument variable>.NbSignatures).
Component: wd300wdpdf.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/19/2024

Send a report | Local help