GetAlignment
PowerScript function
Description
Obtains the alignment of the paragraph containing the insertion
point in a RichTextEdit control.
Applies to
RichTextEdit controls
Syntax
|
1 |
rtename.GetAlignment ( ) |
|
Argument |
Description |
|---|---|
|
rtename |
The name of the RichTextEdit control in which you want to |
Return value
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 2 |
alignment l_align l_align = rte_1.GetAlignment() |
See also