TextSelection.IsActiveEndGreater 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指示活动点是否等于最低点的值。
public:
property bool IsActiveEndGreater { bool get(); };
public:
property bool IsActiveEndGreater { bool get(); };
[System.Runtime.InteropServices.DispId(11)]
public bool IsActiveEndGreater { [System.Runtime.InteropServices.DispId(11)] get; }
[<System.Runtime.InteropServices.DispId(11)>]
[<get: System.Runtime.InteropServices.DispId(11)>]
member this.IsActiveEndGreater : bool
Public ReadOnly Property IsActiveEndGreater As Boolean
属性值
一个布尔值,指示 True 文本选择的活动端是否与文本文档中的定位点的绝对字符偏移量更大, False 否则为。
- 属性
示例
Sub IsActiveEndGreaterExample()
' Before running this example, open a text document.
Dim objSel As TextSelection = DTE.ActiveDocument.Selection
' Go to first line in document.
objSel.GotoLine(1, False)
MsgBox("Is the active point at the bottom of the document? " & objSel.IsActiveEndGreater)
objSel.EndOfDocument(True)
MsgBox("Is the active point at the bottom of the document? " & objSel.IsActiveEndGreater)
End Sub