GetJustElementType Method

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

Description

Returns an integer identifying the associated element generated by justification:

-1 = nothing

0 = rule (command >rl<)

1 = picture (command >img<)

Valid only for tags.

Syntax

object.GetJustElementType

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

Remarks

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