IVerticalScrollBar.GetYCoordinateOfScrollMapPosition Method

Gets the y-coordinate in the scrollbar track that corresponds to a position in scroll map coordinates.

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

Syntax

'Declaration
Function GetYCoordinateOfScrollMapPosition ( _
    scrollMapPosition As Double _
) As Double
double GetYCoordinateOfScrollMapPosition(
    double scrollMapPosition
)
double GetYCoordinateOfScrollMapPosition(
    double scrollMapPosition
)
abstract GetYCoordinateOfScrollMapPosition : 
        scrollMapPosition:float -> float
function GetYCoordinateOfScrollMapPosition(
    scrollMapPosition : double
) : double

Parameters

  • scrollMapPosition
    Type: Double

    The desired position.

Return Value

Type: Double
The corresponding y-coordinate.

.NET Framework Security

See Also

Reference

IVerticalScrollBar Interface

Microsoft.VisualStudio.Text.Editor Namespace