pltILegend GetColor

Returns the integer value of the legend border color.

Syntax

pltILegend_handle GetColor

Application

HyperWorks Tcl Query

Description

Color values range from 0-63, with 0 corresponding to black.

Returns the integer value corresponding to the color of the legend border.

Example

To get the current color of the legend border:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWindow 1
myWindow GetClientHandle myClient
myClient GetLegendHandle myLegend
myLegend GetColor

Errors

None.