共用方式為


IFormattedLine.SetDeltaY 方法

設定格式化的文字換行符號之間的目前檢視的版面配置和先前的 [檢視] 版面頂端位置的變更。

命名空間:  Microsoft.VisualStudio.Text.Formatting
組件:  Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

語法

'宣告
Sub SetDeltaY ( _
    deltaY As Double _
)
void SetDeltaY(
    double deltaY
)
void SetDeltaY(
    double deltaY
)
abstract SetDeltaY : 
        deltaY:float -> unit
function SetDeltaY(
    deltaY : double
)

參數

  • deltaY
    類型:Double

    在 [格式化的文字行的值變更。

.NET Framework 安全性

請參閱

參考

IFormattedLine 介面

Microsoft.VisualStudio.Text.Formatting 命名空間