다음을 통해 공유


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

See Also

Reference

IFormattedLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace