IFormattedLineSource.BaseIndentation Property
Gets the base indentation (in logical pixels) for all lines generated by this source.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'宣告
ReadOnly Property BaseIndentation As Double
double BaseIndentation { get; }
property double BaseIndentation {
double get ();
}
abstract BaseIndentation : float
function get BaseIndentation () : double
Property Value
Type: System.Double
The base indentation (in logical pixels) for all lines generated by this source.
Remarks
This is generally a small value like 2.0, so that some characters (such as an italic slash) will not be clipped by the left edge of the view.
.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.