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.
Applies to
RichTextEdit controls
Syntax
1 |
rtecontrol.GetParagraphSetting ( whichsetting ) |
Argument |
Description |
---|---|
rtecontrol |
The name of the control for which you want paragraph |
whichsetting |
A value of the ParagraphSetting enumerated datatype
|
Return value
Long.
Returns the size of the specified setting in thousandths of an inch.
GetParagraphSetting returns -1 if an error occurs. If which setting is
null, it returns null.
Examples
This example gets the indentation setting for the current
paragraph:
1 2 |
long ll_indent ll_indent = rte_1.GetParagraphSetting(Indent!)) |
See also