次の方法で共有


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

'宣言
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