IFormattedLineSource.BaseIndentation 属性

获取源生成的所有行的基本缩进(以逻辑像素为单位)。

命名空间:  Microsoft.VisualStudio.Text.Formatting
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

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

属性值

类型:Double
基本缩进 (以逻辑像素为单位) 此源生成的所有行。

备注

这通常是与 2.0 的一个小的值,因此,某些字符 (如一个斜体的反斜杠) 不由视图的左边缘剪辑。

.NET Framework 安全性

请参阅

参考

IFormattedLineSource 接口

Microsoft.VisualStudio.Text.Formatting 命名空间