GetAlignment PowerScript function
Description
Obtains the alignment of the paragraph containing the insertion
point in a RichTextEdit control.
Controls
RichTextEdit controls
Syntax
|
1 |
<span>rtename</span>.<span>GetAlignment</span> ( ) |
|
Argument |
Description |
|---|---|
|
rtename |
The name of the RichTextEdit control |
Return Values
Alignment. A value of the Alignment enumerated datatype indicating
the alignment of the paragraph containing the insertion point.
Usage
When several paragraphs are selected, 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 examples saves the alignment setting of the
paragraph that contains the insertion point:
|
1 |
alignment l_align |
|
1 |
l_align = rte_1.<span>GetAlignment</span>() |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest