LineWrappingTextWriter.Indent Property |
Gets or sets the amount of characters to indent all but the first line.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic int Indent { get; set; }
Public Property Indent As Integer
Get
Set
Dim instance As LineWrappingTextWriter
Dim value As Integer
value = instance.Indent
instance.Indent = value
public:
property int Indent {
int get ();
void set (int value);
}
Property Value
Type:
Int32
The amount of characters to indent all but the first line of text.
Remarks
Whenever a line break is encountered (either because of wrapping or because a line break was written to the
LineWrappingTextWriter, the next line is indented by the number of characters specified
by the Indent property.
The output position can be reset to the start of the line after a line break by calling ResetIndent().
See Also