GetMode Method

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

Description

Returns the second parameter of the >rem...< GNML tag.

The possible values are:

0        Normal text

1        Notes mode - the ModeData function will return the notes mode code

2        Text specific to a certain region - the ModeData function will return the region database id

3        Text to be excluded from a certain region - the ModeData function will return the region database id

4        Inserted text - the ModeData function will return the version number

5        Deleted text - the ModeData function will return the version number

Syntax

object.GetMode

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

Remarks

The similar functionality is available in object returned by Text.GetTextStatus, Text.GetParaTextStatus and Text.GetDefaultTextStatus functions. See TextStatus Object.