GetSpacing – PB Docs 2017

GetSpacing

PowerScript function

Description

Obtains the line spacing of the paragraph containing the insertion
point in a RichTextEdit control.

Applies to

RichTextEdit controls

Syntax

Argument

Description

rtename

The name of the RichTextEdit control in which you
want to find out the line spacing of the paragraph containing the
insertion point

Return value

Spacing. A value of the Spacing enumerated datatype indicating the
line spacing of the paragraph containing the insertion point.

Usage

When the user selects several paragraphs, the insertion point is at
the beginning or end of the selection, depending on how the user made the
selection. The value reported depends on the location of the insertion
point.

Examples

This example stores a value of the enumerated datatype spacing in
the variable l_spacing. The value is the spacing for the paragraph with
the insertion point:

See also

GetTextStyle

SetSpacing

SetTextStyle


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