GetPalette

Top  Previous  Next

 

GetPalette (Method)

 

This function returns the total number and the RGB colors of the current color palette

 

Syntax:

Function GetPalette(ClrPalette() As Integer) As Short

 

The GetPalette method syntax consists of the following:

Parameter

Data Type

Description

ClrPalette()

Integer

An array of Integers for the RGB colors

 

Return value:

Short - Is the total number of the palette colors

 

Example