GetPalColor

Top  Previous  Next

 

GetPalColor (Method)

 

This function returns the RGB color associated with the position (index) of the current color palette

 

Syntax:

Function GetPalColor(index0 As Short) As Integer

 

The GetPalColor method syntax consists of the following:

Parameter

Data Type

Description

index0

Short

Is the position (index) to the current color palette

 

Return value:

Integer - Is the RGB color in the specific position of the current color palette_Remarks=

 

Example