Back to Devexpress

TdxChartPaletteRepository.CreateItemFromFile(string) Method

vcl-dxchartpalette-dot-tdxchartpaletterepository-dot-createitemfromfile-x28-system-dot-string-x29.md

latest1.2 KB
Original Source

TdxChartPaletteRepository.CreateItemFromFile(string) Method

Loads a user palette from a file.

Declaration

delphi
function CreateItemFromFile(const AFileName: string): TdxChartUserPalette;

Parameters

NameTypeDescription
AFileNamestring

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

TypeDescription
TdxChartUserPalette

The loaded user palette.

|

See Also

TdxChartPaletteRepository.CreateItemFromStream Procedure

TdxChartPaletteRepository Class

TdxChartPaletteRepository Members

dxChartPalette Unit