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
'Declaration
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
y
Type: DoubleDesired y-coordinate.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.