IFormattedLine.SetTop Method
Sets the position used to format the text in this formatted text line.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Декларация
Sub SetTop ( _
top As Double _
)
void SetTop(
double top
)
void SetTop(
double top
)
abstract SetTop :
top:float -> unit
function SetTop(
top : double
)
Parameters
- top
Type: System.Double
The position for the top of the formatted text line.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | This IWpfTextViewLine has been disposed. |
.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.