GetUColor Function

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

Description

Returns the name of the color of the nIdx underline.

A string like 'K' (for black) or 'PANTONE 2560 CV'. Correspond to the third parameter of the >under...< GNML tag.

nIdx must be between 0 (first underline) and GetNUnderlines-1 (last defined underline). A run-time error occurs if nIdx is outside the valid range.

Syntax

object.GetUColor(nIdx)

object

Required. Object name, returned by Text.GetTextStatus, Text.GetParaTextStatus and Text.GetDefaultTextStatus functions

nIdx

Required. Underline index. Must be between 0 and GetNUnderlines.

See also

Other underlines properties and functions