Поделиться через


IVerticalScrollBar.GetYCoordinateOfBufferPosition Method

Gets the y-coordinate in the scrollbar track that corresponds to a buffer position.

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

Syntax

'Декларация
Function GetYCoordinateOfBufferPosition ( _
    bufferPosition As SnapshotPoint _
) As Double
double GetYCoordinateOfBufferPosition(
    SnapshotPoint bufferPosition
)
double GetYCoordinateOfBufferPosition(
    SnapshotPoint bufferPosition
)
abstract GetYCoordinateOfBufferPosition : 
        bufferPosition:SnapshotPoint -> float 
function GetYCoordinateOfBufferPosition(
    bufferPosition : SnapshotPoint
) : double

Parameters

Return Value

Type: System.Double
The corresponding y-coordinate of the buffer position.

.NET Framework Security

See Also

Reference

IVerticalScrollBar Interface

Microsoft.VisualStudio.Text.Editor Namespace