GetParagraphSetting PowerScript function
Description
Gets the size of the indentation, left margin, or right margin
of the paragraph containing the insertion point in a RichTextEdit
control.
Controls
RichTextEdit controls
Syntax
|
1 |
<span>rtecontrol</span>.<span>GetParagraphSetting</span> ( <span>whichsetting</span> ) |
|
Argument |
Description |
|---|---|
|
rtecontrol |
The name of the control for which you |
|
whichsetting |
A value of the ParagraphSetting enumerated
|
Return Values
Long. Returns the size of the specified
setting in thousandths of an inch. GetParagraphSetting returns
-1 if an error occurs. If whichsetting is null,
it returns null.
Examples
This example gets the indentation setting for the
current paragraph:
|
1 |
long ll_indent |
|
1 |
ll_indent = rte_1.<span>GetParagraphSetting</span>(Indent!)) |