CopyPaletteData Method

In the Visual Basic language, this method can be used to pass data for a custom palette to the control.

Syntax

success = object.CopyPaletteData (array)

Parameters

array
A Visual Basic array that contains 256 Long values that define the palette.

Return Value

success
A Boolean value indicating success (TRUE) or failure (FALSE).

Remarks

To have the control use the custom palette, set the PaletteId property to Custom.

See Also

PaletteId