GetSpacing PowerScript function
Description
Obtains the line spacing of the paragraph containing the insertion
point in a RichTextEdit control.
Controls
RichTextEdit controls
Syntax
|
1 |
<span>rtename</span>.<span>GetSpacing</span> ( ) |
|
Argument |
Description |
|---|---|
|
rtename |
The name of the RichTextEdit control |
Return Values
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:
|
1 |
spacing l_spacing |
|
1 |
l_spacing = rte_1.<span>GetSpacing</span>() |