GetCmdType Method (TxtPosDesc)

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:25

Description

Returns an a tag type:

-1 = unknown

0 = simple

1 = para style

2 = begin text style

3 = end text style

Syntax

object.GetCmdType

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.GetCmdType

Remarks

This functionality is not available in objects returned by Text.GetTextStatus, Text.GetParaTextStatus and Text.GetDefaultTextStatus functions..