- palette
- Array of Color structures to set.
- startIndex
- Index of the first palette entry to replace.
- count
- Number of palette entries to replace.
Visual Basic (Declaration) | |
---|---|
Public Overridable Sub SetPalette( _ ByVal palette() As Color, _ ByVal startIndex As Integer, _ ByVal count As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- palette
- Array of Color structures to set.
- startIndex
- Index of the first palette entry to replace.
- count
- Number of palette entries to replace.
For an example, refer to RasterImage.Palette.
An RasterImage must have a BitsPerPixel value of 8 or less in order to have a valid palette.
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6