共用方式為


ITextViewLine.DeltaY Property

Gets the change in the top of this rendered text line between he value of Top in the current layout and the value of Top in the previous layout.

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

Syntax

'宣告
ReadOnly Property DeltaY As Double
double DeltaY { get; }
property double DeltaY {
    double get ();
}
abstract DeltaY : float
function get DeltaY () : double

Property Value

Type: System.Double
The change in the top of this rendered text line.

Remarks

This property is 0.0 for rendered text lines that did not exist in the previous layout.

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace