Class PaletteColors
PaletteColors is a utility class which provides access to the predefined color palettes.
GetPaletteColors method takes a ColorPalette enumeration as a parameter and returns back an array of Colors.
Inheritance
System.Object
PaletteColors
Namespace: FastReport.BG.Styling
Assembly: FastReport.BG.dll
Syntax
public static class PaletteColors
Methods
GetPaletteColors(PaletteType)
Get Color array for predefined palette
Declaration
public static Color[] GetPaletteColors(PaletteType paletteType)
Parameters
Type | Name | Description |
---|---|---|
PaletteType | paletteType | Type of predefined palette |
Returns
Type | Description |
---|---|
System.Drawing.Color[] | array of Color |