Partager via


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

'Declaration
ReadOnly Property BaseIndentation As Double
double BaseIndentation { get; }
property double BaseIndentation {
    double get ();
}
abstract BaseIndentation : float with get
function get BaseIndentation () : double

Property Value

Type: 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

See Also

Reference

IFormattedLineSource Interface

Microsoft.VisualStudio.Text.Formatting Namespace