IVerticalScrollBar.GetBufferPositionOfYCoordinate(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the buffer position that corresponds to a y-coordinate in the scrollbar track.
public:
Microsoft::VisualStudio::Text::SnapshotPoint GetBufferPositionOfYCoordinate(double y);
public Microsoft.VisualStudio.Text.SnapshotPoint GetBufferPositionOfYCoordinate (double y);
abstract member GetBufferPositionOfYCoordinate : double -> Microsoft.VisualStudio.Text.SnapshotPoint
Public Function GetBufferPositionOfYCoordinate (y As Double) As SnapshotPoint
Parameters
- y
- Double
Desired y-coordinate.
Returns
A position in the buffer, even if y
is below or above the mapped range of coordinates.