TdxChartPaletteRepository.CreateItemFromFile(string) Method
Loads a user palette from a file.
Declaration
function CreateItemFromFile(const AFileName: string): TdxChartUserPalette;
Parameters
Name | Type | Description |
---|---|---|
AFileName | string | The absolute or relative path to the source palette file. Note The source file must contain a user palette created by a TdxChartUserPalette.SaveToFile procedure call; otherwise, an error occurs. |
Returns
Type | Description |
---|---|
TdxChartUserPalette | The loaded user palette. |
See Also