IFormattedLineSource.MaxAutoIndent Property
Gets the maximum auto-indent for wrapped lines.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣告
ReadOnly Property MaxAutoIndent As Double
double MaxAutoIndent { get; }
property double MaxAutoIndent {
double get ();
}
abstract MaxAutoIndent : float
function get MaxAutoIndent () : double
Property Value
Type: System.Double
The maximum auto-indent for wrapped lines.
Remarks
If a long line is word-wrapped, then all the line fragments after the first will be indented by the amount of leading white space on the first line, or MaxAutoIndent, whichever is smaller.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.