GetSpacing
PowerScript function
Description
Obtains the line spacing of the paragraph containing the insertion
point in a RichTextEdit control.
Applies to
RichTextEdit controls
Syntax
1 |
rtename.GetSpacing ( ) |
Argument |
Description |
---|---|
rtename |
The name of the RichTextEdit control in which you |
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:
1 2 |
spacing l_spacing l_spacing = rte_1.GetSpacing() |
See also