IScrollMap.GetCoordinateAtBufferPosition Method

Gets the scrollmap coordinates of a buffer position.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

double GetCoordinateAtBufferPosition(
	SnapshotPoint bufferPosition
)

Parameters

bufferPosition
Type: Microsoft.VisualStudio.Text.SnapshotPoint

The buffer position.

Return Value

Type: System.Double
The scrollmap coordinates.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft