IFormattedLine.SetTop 方法

设置用于对格式化文本行中的文本设置格式的位置。

命名空间:  Microsoft.VisualStudio.Text.Formatting
程序集:  Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

语法

声明
Sub SetTop ( _
    top As Double _
)
void SetTop(
    double top
)
void SetTop(
    double top
)
abstract SetTop : 
        top:float -> unit
function SetTop(
    top : double
)

参数

  • top
    类型:Double

    格式化文本行顶部的位置。

异常

异常 条件
ObjectDisposedException

IWpfTextViewLine 已被释放。

.NET Framework 安全性

请参阅

参考

IFormattedLine 接口

Microsoft.VisualStudio.Text.Formatting 命名空间