共用方式為


IFormattedLine.SetDeltaY Method

Sets the change in position of the top of this formatted text line between the current view layout and the previous view layout.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

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

Parameters

  • deltaY
    Type: System.Double
    The change in value for the formatted text line.

.NET Framework Security

See Also

Reference

IFormattedLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace