Share via


IScrollMap.GetCoordinateAtBufferPosition(SnapshotPoint) Method

Definition

Gets the scrollmap coordinates of a buffer position.

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

Parameters

bufferPosition
SnapshotPoint

The buffer position.

Returns

The scrollmap coordinate, which will be between 0.0 and CoordinateOfBufferEnd inclusive.

Applies to