The Palette Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or Sets the custom palette to use when converting the image.Visual Basic (Declaration) | |
---|---|
Public Property Palette As Color() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ColorResolutionActivity Dim value() As Color instance.Palette = value value = instance.Palette |
C# | |
---|---|
public Color[] Palette {get; set;} |
C++/CLI | |
---|---|
public: property array<Color>^ Palette { array<Color>^ get(); void set ( array<Color>^ value); } |
Property Value
The palette to use.This property is used as follows:
- If you want to use the fixed palette or a fully optimized palette, set this property to null (Nothing in Visual Basic).
- If you want to supply the entire palette, specify ColorResolutionCommandPaletteFlags.UsePalette in the PaletteFlags property and set this property.
- If you want the activity to fill part of your palette with optimized colors, specify ColorResolutionCommandPaletteFlags.Optimized in the PaletteFlags property and set this property.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7