Condividi tramite


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

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

Return Value

Type: System.Double
The corresponding y-coordinate.

.NET Framework Security

See Also

Reference

IVerticalScrollBar Interface

Microsoft.VisualStudio.Text.Editor Namespace