Back to Devexpress

TdxChartPaletteRepository.CreateItemFromStream(TStream) Method

vcl-dxchartpalette-dot-tdxchartpaletterepository-dot-createitemfromstream-x28-system-dot-classes-dot-tstream-x29.md

latest1.2 KB
Original Source

TdxChartPaletteRepository.CreateItemFromStream(TStream) Method

Loads a user palette from a stream.

Declaration

delphi
function CreateItemFromStream(const AStream: TStream): TdxChartUserPalette;

Parameters

NameTypeDescription
AStreamTStream

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

TypeDescription
TdxChartUserPalette

The loaded user palette.

|

See Also

TdxChartPaletteRepository.CreateItemFromFile Procedure

TdxChartPaletteRepository Class

TdxChartPaletteRepository Members

dxChartPalette Unit