Skip to main content

TdxCustomTreeView.SaveToStream(TStream,TEncoding) Method

Saves node captions and positions in the Tree View control to the specified stream.

Declaration

procedure SaveToStream(AStream: TStream; AEncoding: TEncoding); overload;

Parameters

Name Type Description
AStream TStream

A target stream.

AEncoding TEncoding

The specified stream’s encoding.

Remarks

Note

The SaveToStream procedure is intended to be backward compatible with the TTreeView control. To save all Tree View settings to the specified file, call the SaveDataToStream procedure.

You can call a LoadFromStream procedure to load node captions and positions from a stream in plain text format. The LoadDataFromStream procedure does not support streams created by a SaveToStream procedure call.

See Also