GetPageSize – PB Docs 2022

GetPageSize

PowerScript function

Description

Gets the size of the specified page in a PDF document.

Applies to

PDFDocExtractor object in Objects and Controls

Syntax

Argument

Description

index

The index of the page.

width

The width of the page at the index.

height

The height of the page at the index.

Return value

Long. Returns 1 if it succeeds and -1 if it fails. For more errors,
see the Error Codes.

Examples

This example gets the size of the first page in the
extract.pdf.

See also

ExtractAllAttachments

ExtractAttachmentFile

GetAttachmentList

GetPageCount

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