Skip to main content
All docs
V25.1
  • TdxChartUserPalette.LoadFromFile(string) Method

    Repopulates the user palette from a file.

    Declaration

    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