ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearDIB Class / Palette Property




In This Topic
    Palette Property
    In This Topic
    Gets or sets image palette, for images that have Indexed colorspace.
    Syntax
    'Declaration
     
    Public Property Palette As ImGearRGBQuad()
    'Usage
     
    Dim instance As ImGearDIB
    Dim value() As ImGearRGBQuad
     
    instance.Palette = value
     
    value = instance.Palette
    public ImGearRGBQuad[] Palette {get; set;}
    public: __property ImGearRGBQuad[]* get_Palette();
    public: __property void set_Palette( 
       ImGearRGBQuad[][]* value
    );
    public:
    property array<ImGearRGBQuad>^ Palette {
       array<ImGearRGBQuad>^ get();
       void set (    array<ImGearRGBQuad>^ value);
    }

    Property Value

    Array of ImGearRGBQuad structure objects or null.
    Remarks
    Provides full access to the DIB's palette represented as an array of ImGearRGBQuad structure objects.

    Palette must be present in images that have ImGearColorSpaceIDs.I colorspace. Palette is ignored in images that have other colorspaces.

    Example
    See Also