TdxChartPaletteRepository.FindPalette(string,Boolean) Method
#Declaration
function FindPalette(const AName: string; AAllowStandardPalette: Boolean = True): TdxChartPalette;
#Parameters
Name | Type | Description |
---|---|---|
AName | string | The target user or standard palette name. The function iterates through stored palettes and returns the palette whose name matches the parameter value. If the repository contains no palette with the required name, the function returns |
AAllow |
Boolean | Optional. Specifies if the function searches a palette with the specified name among the list of predefined palettes:
|
#Returns
Type | Description |
---|---|
Tdx |
The stored user or standard palette whose name matches the The function returns Tip Cast the returned value to the Tdx |