poITextAttribute GetColor

Gets the text color.

Syntax

poITextAttribute_handle GetColor

Application

HyperView Tcl Query

Description

This command retrieves the text color.
Note: The string returned will be either a color name (if the RGB values of the color match a name), an index (if the value matches one of the standard palette of colors), or a set of three RGB values.

Example

To get the text color of an existing attribute:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWinName 1
myWinName GetClientHandle myClientName
myClientName GetLegendHandle myLegendName 1
myLegendName GetHeaderAttributeHandle myAttrName
myAttrName GetColor

Errors

Returns RGB as a space separated string "red green blue", where each color component ranges in value from 0 to 255.