SetUColor Method

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

Description

Sets 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 and GetNUnderlines, when nIdx is equal to GetNUnderlines a new underline is added. A run-time error occurs if nIdx is outside the valid range.

Syntax

object.SetUColor(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, when nIdx is equal to GetNUnderlines a new underline is added.

See also

Other underlines properties and functions