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: DoubleThe desired position.
Return Value
Type: Double
The corresponding y-coordinate.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.