Vcl.Outline.TCustomOutline.SaveToFile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SaveToFile(const FileName: string); overload;
procedure SaveToFile(const FileName: string; Encoding: TEncoding); overload;

C++

void __fastcall SaveToFile(const System::UnicodeString FileName)/* overload */;
void __fastcall SaveToFile(const System::UnicodeString FileName, System::Sysutils::TEncoding* Encoding)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Outline.pas
Vcl.Outline.hpp
Vcl.Outline TCustomOutline

Description

Saves the Lines property to a file.

Call SaveToFile to save a text image of the outline to the file specified by the FileName parameter. The image saved is the value of the Lines property, where each line of the file represents a node, and each level of the outline is represented by a tab character.

To write the outline to an arbitrary stream, use the SaveToStream method.

See Also

Code Examples