IVerticalScrollBar::GetYCoordinateOfScrollMapPosition Method (Double)

 

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)

double GetYCoordinateOfScrollMapPosition(
	double scrollMapPosition
)

Parameters

scrollMapPosition
Type: System::Double

The desired position.

Return Value

Type: System::Double

The corresponding y-coordinate.

Return to top
Show: