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

TdxChartUserPalette.LoadFromFile(string) Method

Repopulates the user palette from a file.

#Declaration

Delphi
procedure LoadFromFile(const AFileName: string);

#Parameters

Name Type Description
AFileName string

The path to the source palette file.

Note

The source file must contain a user palette created by a SaveToFile procedure call; otherwise, an error occurs.

#Remarks

Call the LoadFromFile or LoadFromStream procedure to repopulate the user palette from a file or stream with a previously saved palette.

See Also