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
PDFNumberOfPages (Function)
In French: PDFNombreDePages
Returns the total number of pages found in a PDF file.
Example
NbPages is int
NbPages = PDFNumberOfPages("C:\temp\MyDocument.pdf")
Info("Number of pages in the PDF: " + NbPages)
Syntax
<Result> = PDFNumberOfPages(<Name of PDF File> [, <Password>])
<Result>: Integer
Total number of pages in the PDF file.
<Name of PDF File>: Character string (with quotes)
Name and path of the PDF file to analyze.
<Password>: Optional character string (with quotes)
Password required to open the file if the PDF file is password-protected.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230img.dll
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment