EditorViewTextLength Property
|
This property returns the length of the text (the number of characters) on the current page; it can be queried using the Text property.
Namespace:
OmniPageCSDK.ToolBoxes
Assembly:
OmniPageCSDK.ToolBoxes (in OmniPageCSDK.ToolBoxes.dll) Version: 1.0.0.0
Syntax[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
[DispIdAttribute(136)]
public int TextLength { get; }<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(false)>
<DispIdAttribute(136)>
Public ReadOnly Property TextLength As Integer
Get
public:
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)]
[BrowsableAttribute(false)]
[DispIdAttribute(136)]
property int TextLength {
int get ();
}Property Value
Type:
Int32
Remarks
You can also use this property to determine valid character indices that can be used when changing the SelStart property to define the
beginning point of a text selection. The first character on the page has the index 0 (zero), each subsequent character's index increments by one;
for the last character the returned value is - 1.
See also SelStart, SelLength and SelText.
See Also