Gets the colors in the user defined palette for the control.
Visual Basic |
---|
Public Function PRGBGetColors( _ ByVal Index As Integer _ ) As Long |
- Index
The minimum index is 0.
The maximum index is 255.
The RGB value for that location in the palette.
When the Palette property is 4 (user defined), palettized images (8-bits per pixel or less) loaded will be displayed with the palette defined by the PRGBSetColors method.