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
- scrollMapPosition
Type: System.Double
The desired position.
Return Value
Type: System.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.