Condividi tramite


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

'Declaration
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

Return Value

Type: Double
The scrollmap coordinates.

.NET Framework Security

See Also

Reference

IScrollMap Interface

Microsoft.VisualStudio.Text.Editor Namespace