Color Property

Build 1501 on 14/Nov/2017  This topic last edited on: 10/Oct/2016, at 13:19

Description

Returns or sets the name of the characters' color.

A string like 'K' (for black) or 'PANTONE 2560 CV'.

It corresponds to the GNML tag >co...<

Syntax

object.Color [ =strName ]

object

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

strName

Color name.

Example

      If objTS.HasColor Then

        strTextColor = objTS.Color      'displays the current color  

      End If

See also

Other color and tint properties and functions