PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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.
Versions 25 and later
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Android This function is now available for Android applications.
New in version 25
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Android This function is now available for Android applications.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Android This function is now available for Android applications.
Example
NbPages is int
NbPages = PDFNumberOfPages("C:\temp\MyDocument.pdf")
Info("Number of pages in the PDF: " + NbPages)
Syntax
<Result> = PDFNumberOfPages(<PDF file> [, <Password>])
<Result>: Integer
Total number of pages in the PDF file.
<PDF file>: Character string (with quotes)
Name and path of PDF file to analyze.
<Password>: Optional character string (with quotes)
Password required to open the file if the PDF file is password protected.
Business / UI classification : Business Logic
Component : wd250img.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment