GetIsExpansion Method (TxtPosDesc)

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

Description

Returns true if the text at the cursor position has been generated by the expansion of a style.

Syntax

object.GetIsExpansion

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

Remarks

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