共用方式為


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 命名空間