Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxChartPaletteRepository.CreateItemFromFile(string) Method

Loads a user palette from a file.

#Declaration

Delphi
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