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

PDFImage object – PB Docs 2022 – PowerBuilder Library

PDFImage object – PB Docs 2022

PDFImage object

PDFImage is one of the PDF Builder objects, and is derived from
PDFVisibleContent. PDFImage is used for inserting an image from the local
drive to the PDF document. It contains properties that determine how the
image will display.

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

PDFImage provides the following properties. In addition, it
inherits the properties from its parent, PDFVisibleContent.

PDFImage property

Datatype

Description

ClassDefinition

PowerObject

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

FileName

String

Gets or sets the image file name. The supported
file format: bmp, jpg, jpf, tiff, tif, jp2, jpeg, png, j2k, and
jpx.

FitMethod

PDFImageFitMethod

Gets or sets the image fit method.

Transparency

Real

Gets or sets the image transparency. The unit is
percentage. If the value is 100%, it means transparent. If the
value is 0, it means not transparent.

Events

PDFImage event

Occurs

Constructor

Immediately before the Open event occurs in the
window.

Destructor

Immediately after the Close event occurs in the
window.

Functions

PDFImage provides the following functions. In addition, it
inherits the functions from its parent, PDFVisibleContent.

PDFImage function

Datatype returned

Description

ClassName

String

Returns the name assigned to the
control.

Clone

PDFText

Clones the current object.

GetContextService

Integer

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

GetLinkAddress

String

Gets the URL that the current object links
to.

GetParent

PowerObject

Returns a reference to the name of the parent
object.

LinkToObject

Long

Links the current object to the specified
object.

PostEvent

Boolean

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

SetLinkAddress

Long

Sets the URL that the current object links
to.

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