procedure SaveToStream(Stream: TStream); overload; procedure SaveToStream(Stream: TStream; Encoding: TEncoding); overload;
void __fastcall SaveToStream(System::Classes::TStream* Stream)/* overload */; void __fastcall SaveToStream(System::Classes::TStream* Stream, System::Sysutils::TEncoding* Encoding)/* overload */;
Writes the Lines property to a stream.
Call SaveToStream to write a text image of the outline to the stream specified by the Stream parameter. The image saved is the value of the Lines property, where each line of text represents a node, and each level of the outline is represented by a tab character.
To write the outline to a file, use the SaveToFile method.