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

PDFPage object – PB Docs 2022 – PowerBuilder Library

PDFPage object – PB Docs 2022

PDFPage object

PDFPage is one of the PDF Builder objects, and is derived from
PDFModel. Each PDFPage object refers to a page in the PDF document. You
can use PDFPage to manage the content (text, image, etc.) in a PDF
document.

To view the full hierarchy of the PDF Builder objects, find
“pdfobject” in the Browser, right-click the object, and then select “Show
Hierarchy” in the pop-up menu.

Properties

PDFPage provides the following property. In addition, it inherits
the properties from its parent, PDFModel.

PDFPage property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing
information about the class definition of the object or
control.

Events

PDFPage event

Occurs

Constructor

Immediately before the Open event occurs in the
window.

Destructor

Immediately after the Close event occurs in the
window.

Functions

PDFPage provides the following functions.

PDFPage function

Datatype returned

Description

AddContent

Long

Adds content to the page.

ClassName

String

Returns the name assigned to the
control.

Clone

PDFPage

Clones the current PDFpage object.

GetContent

PDFContent

Gets the specified content.

GetContentCount

Long

Gets the number of content objects in the current
PDF page.

GetContextService

Integer

Creates a reference to a context-specific instance
of the specified service.

GetHeight

Double

Gets the height of the current PDF
page.

GetParent

PowerObject

Returns a reference to the name of the parent
object.

GetWidth

Double

Gets the width of the current PDF
page.

ImportContent

Long

Imports the content from the specified PDF page to
the current PDF page.

IndexOf

Long

Gets the index of the specified object in the
current PDF page.

PostEvent

Boolean

Adds an event to the end of the message queue for
the control.

RemoveContent

Long

Removes a specified object from the current PDF
page.

SetHeight

None

Sets the height for the current PDF
page.

SetPageSize

None

Sets the page size for the current PDF
page.

SetWidth

None

Sets the width for the current PDF
page.

TriggerEvent

Integer

Triggers a specified event in the control and
executes the script for the event.

TypeOf

Object

Returns the type of the control.


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