SetPalette

Top  Previous  Next

 

SetPalette (Method)

 

Assigns all the RGB colors of the current color palette

 

Syntax:

Function SetPalette(ClrPalette() As Integer) As Boolean

 

The SetPalette method syntax consists of the following:

Parameter

Data Type

Description

ClrPalette()

Integer

An array of Integers for the RGB colors of the palette

 

Return value:

Boolean - True on success, false on error.

 

Example