Description
Returns an integer specifying the type of the text at the cursor position:
-1 = not initialized or end of text (nothing at the position)
0 = normal text (characters)
1 = inside markup
2 = start markup
3 = end markup
4 = end paragraph
5 = forced end line
6 = justification end line
7 = justification end line with hyphen
8 = bell
9 = tab
10 = start tab
11 = invisible
12 = inside HTML command
13 = start HTML command
14 = end HTML command
Syntax
object.GetType |
object
Required. Object name, returned by objCursor created through Text.GetCursor.
Example
Dim objCur = Text.GetCursor(modeSrcOn,cposCursor,False)
Dim objdesc As TxtPosDesc = objCur.GetDesc
Value = objDesc.GetType
Remarks
This functionality is not available in objects returned by Text.GetTextStatus, Text.GetParaTextStatus and Text.GetDefaultTextStatus functions..