次の方法で共有


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