SetPalColor
MethodSetPalColor (Method)
This method assigns the RGB color to a short position (index) in the current color palette.
Syntax:
Function SetPalColor(index0 As Short, clr As Integer) As Boolean
The SetPalColor method syntax consists of the following:
Parameter |
Data Type |
Description |
index0 |
Short |
The position (index) in the color palette |
clr |
Integer |
The RGB color |
Return value:
Boolean - True on success, false on error.