RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.SaveToFile Method

Saves the Lines property to a file.

Pascal
procedure SaveToFile(const FileName: string);
C++
__fastcall SaveToFile(const AnsiString FileName);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!