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
'Declaración
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: System.Double
Desired 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.