ImagePalette Property

Gets or sets the color palette.

Namespace:  Aspose.CAD
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 21.3
Syntax
public IColorPalette Palette { get; set; }

Property Value

Type: IColorPalette
The color palette.
Examples
Asserts DGN drawing contains palette
var fileName = @"C:\path\drawing.dgn";
using (DgnImage drawing = (DgnImage)Image.Load(fileName))
{
    Assert.IsNotNull(drawing.Palette);
}
See Also