IVerticalScrollBar::GetBufferPositionOfYCoordinate Method (Double)

 

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)

SnapshotPoint GetBufferPositionOfYCoordinate(
	double y
)

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.

Return to top
Show: