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

TextFrameGetInternalMargin – PB Docs 2022 – PowerBuilder Library

TextFrameGetInternalMargin – PB Docs 2022

TextFrameGetInternalMargin

PowerScript function

Description

Gets the distance (in twips) between a text frame’s border line and
the text. Twip is a fabricated word meaning twentieth of a point
(pt).

Applies to

RichTextEdit control

Syntax

Argument

Description

textFrameID

The unique ID that identifies the text frame.

index Specifies one of the four possible margins: 1 — Left; 2 —
Top; 3 — Right; 4 — Bottom.

Return value

Integer.

Returns the distance between the text frame’s border line and the
text, in twips. For almost all units of measurement in the RichTextEdit
control, twips are used. Twip is a fabricated word meaning twentieth of a
point (pt).

Returns -1 if it fails. Returns null if any argument is null.

Examples

The following example gets the internal margins of the specified
text frame.


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