Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetPageCount – PB Docs 2022 – PowerBuilder Library

GetPageCount – PB Docs 2022

GetPageCount

PowerScript function

Description

Gets the count of pages in a PDF document.

Applies to

PDFDocument object in Objects and Controls

PDFDocExtractor object in Objects and Controls

Syntax

Return value

Long. Returns the total number of pages in the PDF document.

Usage

If you call the function for a PDFDocument object in Objects and Controls, the total
number of pages in the object will be returned. If you call the function
for a PDFDocExtractor object in Objects and Controls, get the
total number of pages in the PDF file opened by the object will be
returned.

Example

The following example gets the count of pages in the current
PDFDocument object:

See also

PDFDocument objects:

AddPage

Clone

GetPage

GetTableOfContents

ImportDataWindow

ImportPDF

ImportRichTextEdit

IndexOf

InsertPage

RemovePage

Save

SearchObject

SetTableOfContents

PDFDocExtractor objects:

ExtractAllAttachments

ExtractAttachmentFile

GetAttachmentList

GetPageSize

Open


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x