| Visual Basic (Declaration) | |
|---|---|
Public Overridable ReadOnly Property Palette As Color() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public virtual Color[] Palette {get;} | |
Return Value
An array of Color structures that represents the color palette used in this RasterImage.If this RasterImage does not use a palette; the value of this property will be null (Nothing in Visual Basic).
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
Copy Code