ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / PDF functions
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
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(<PDF file> [, <Password>])
<Result>: Integer
Total number of pages in the PDF file.
<PDF file>: Character string
Name and path of PDF file to analyze.
<Password>: Optional character string
Password required to open the file if the PDF file is password protected.
Remarks
Android Starting with version 28, this function is not supported by 32-bit ARM processors. New PDF features require a 64-bit execution mode.
If an application is to be run on devices with 32-bit ARM processors, it must be generated with WINDEV Mobile 27.
Business / UI classification: Business Logic
Component: wd290wdpdf.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/15/2023

Send a report | Local help