TdxCustomTreeView.SaveToFile(string,TEncoding) Method
Saves node captions and positions in the Tree View control to the specified plain text file.
Declaration
procedure SaveToFile(const AFileName: string; AEncoding: TEncoding); overload;
Parameters
Name | Type | Description |
---|---|---|
AFileName | string | A target file name. |
AEncoding | TEncoding | The specified file’s encoding. |
Remarks
Note
The SaveToFile procedure is intended to be backward compatible with the TTreeView control. To save all Tree View settings to the specified file, call the SaveDataToFile procedure.
You can call a LoadFromFile procedure to load node captions and positions from a plain text file. The LoadDataFromFile procedure does not support files created by a SaveToFile procedure call.
See Also