Click or drag to resize

LineWrappingTextWriterIndent 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
Syntax
public int Indent { get; set; }

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