PropertiesFillColourColourPut
- Last UpdatedJul 13, 2023
- 1 minute read
Sets the color at the specific index on the Fill | Color tab of the Object Properties dialog for type Array, Threshold and Gradient.
Note: As this function does not support True Color functionality, it has been superseded by the function.
Syntax
PropertiesFillColourColourPut(Index, ColourNo, Limit, Operator)
Index:
Specify the index you would like to set the current color for. This values depends on the type of color fill selected:
0 - 31 for type Multi-state
0 - 255 for type Array
0 - 255 for type Threshold
0- 1 for Gradient
To set the fill color for on/off mode use index values of OFF = 0 or ON = 1.
ColourNo:
A value between 0 and 255 representing the color applied to the Index setting.
Limit:
A value between 0 and 100 representing the threshold limit. Used for type Threshold only.
Operator:
The value representing the current operator used for the threshold limit setting:
0 : < (less than)
1 : > (greater than)
2 : <= (less than or equal to)
3 : >= (greater than or equal to)
Return Value
0 (zero) if successful, otherwise an error is returned.
Note: For details on handling return and error values, see Error Handling.
Related Functions
PropertiesFillColourColourGet, PropertiesFillColourGet, PropertiesFillColourPut