Udostępnij za pośrednictwem


IVerticalScrollBar.GetBufferPositionOfYCoordinate(Double) Method

Definition

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.

Applies to