Skip to main content
All docs
V24.1

TdxChartPaletteRepository.CreateItemFromStream(TStream) Method

Loads a user palette from a stream.

Declaration

function CreateItemFromStream(const AStream: TStream): TdxChartUserPalette;

Parameters

Name Type Description
AStream TStream

The source stream.

Note

The source stream object at the current position must contain a user palette created by a TdxChartUserPalette.SaveToStream procedure call; otherwise, an error occurs.

Returns

Type Description
TdxChartUserPalette

The loaded user palette.

See Also