次の方法で共有


IVerticalScrollBar.GetBufferPositionOfYCoordinate Method

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

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

Syntax

'宣言
Function GetBufferPositionOfYCoordinate ( _
    y As Double _
) As SnapshotPoint
SnapshotPoint GetBufferPositionOfYCoordinate(
    double y
)
SnapshotPoint GetBufferPositionOfYCoordinate(
    double y
)
abstract GetBufferPositionOfYCoordinate : 
        y:float -> SnapshotPoint 
function GetBufferPositionOfYCoordinate(
    y : double
) : SnapshotPoint

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.SnapshotPoint
A position in the buffer, even if y is below or above the mapped range of coordinates.

.NET Framework Security

See Also

Reference

IVerticalScrollBar Interface

Microsoft.VisualStudio.Text.Editor Namespace