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)
Syntax
‘선언
Function GetCoordinateAtBufferPosition ( _
bufferPosition As SnapshotPoint _
) As Double
double GetCoordinateAtBufferPosition(
SnapshotPoint bufferPosition
)
double GetCoordinateAtBufferPosition(
SnapshotPoint bufferPosition
)
abstract GetCoordinateAtBufferPosition :
bufferPosition:SnapshotPoint -> float
function GetCoordinateAtBufferPosition(
bufferPosition : SnapshotPoint
) : double
Parameters
- bufferPosition
Type: Microsoft.VisualStudio.Text.SnapshotPoint
The buffer position.
Return Value
Type: System.Double
The scrollmap coordinates.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.