RichEdit.Margin Method | |
Set the margins for the currently selected text in the rich edit control.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD Margin(
nStart,
nRight,
nOffset
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual Margin(
Usual nStart = default,
Usual nRight = default,
Usual nOffset = default
)
Request Example
View SourceParameters
- nStart (Optional)
- Type: Usual
Integer representing the indentation of the first line in the paragraph. - nRight (Optional)
- Type: Usual
Integer representing the right margin of the paragraph. - nOffset (Optional)
- Type: Usual
Integer representing the indentation of the second line and subsequent lines, relative to nStart. If this value is positive, a hanging indent is created (first line is 'outdented' and the subsequent lines are indented). If this value is negative, the first line is indented and the subsequent lines are outdented.
Return Value
Type:
Usual
TRUE, if successful; otherwise FALSE.
Remarks
This method is equivalent to setting the RichEdit:PrimaryIndent, RichEdit:RightMargin, and RichEdit:SecondaryIndent properties.
See Also