OutliningMarginBracketControl.GetFirstLineOffset Method
Gets the first line offset.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Déclaration
Public Shared Function GetFirstLineOffset ( _
control As OutliningMarginBracketControl _
) As Double
public static double GetFirstLineOffset(
OutliningMarginBracketControl control
)
public:
static double GetFirstLineOffset(
OutliningMarginBracketControl^ control
)
static member GetFirstLineOffset :
control:OutliningMarginBracketControl -> float
public static function GetFirstLineOffset(
control : OutliningMarginBracketControl
) : double
Parameters
- control
Type: Microsoft.VisualStudio.Text.Editor.OutliningMarginBracketControl
The control.
Return Value
Type: System.Double
The first line offset.
.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.