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 PDF file to study.
<Password>: Optional character string (with quotes)
Password required to open the file if the PDF file is password protected.
Component : wd240img.dll
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment