IVerticalScrollBar.GetYCoordinateOfBufferPosition(SnapshotPoint) Method

Definition

Gets the y-coordinate in the scrollbar track that corresponds to a buffer position.

public:
 double GetYCoordinateOfBufferPosition(Microsoft::VisualStudio::Text::SnapshotPoint bufferPosition);
public double GetYCoordinateOfBufferPosition (Microsoft.VisualStudio.Text.SnapshotPoint bufferPosition);
abstract member GetYCoordinateOfBufferPosition : Microsoft.VisualStudio.Text.SnapshotPoint -> double
Public Function GetYCoordinateOfBufferPosition (bufferPosition As SnapshotPoint) As Double

Parameters

bufferPosition
SnapshotPoint

Desired position.

Returns

Corresponding y-coordinate.

Applies to