This property refers to the number of palette colors for the image set to the Image property.
[Visual Basic] Public ReadOnly Property
PaletteCount As Integer
[C#] public int PaletteCount {get;}
Property Value
The number of palette colors for the image
This property value is valid when the BitCount property is less than 8, otherwise 0 is returned.
Explanation
The PaletteCount property refers to the number of palette colors for the image. After setting the Image property, the value of the PaletteCount property is automatically set. This property is not valid for vector data.
See Also
ImageKit Members | Newtone.ImageKit.Wpf.ImageKit