poITextAttribute SetColor
Sets the font color.
Syntax
poITextAttribute_handle SetColor color
Application
HyperView Tcl Modify
Description
This command sets the font color.
Inputs
- color
- The RGB color as a string "red green blue", where each color component ranges in value from 0 to 255.
Example
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 SetColor red
myAttrName SetColor "255 255 255"
myAttrName SetColor 4
Errors
Returns 0 if successful, otherwise an error code.