IScrollMap.GetCoordinateAtBufferPosition(SnapshotPoint) 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 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.