Vcl.Outline.TCustomOutline.SaveToStream
Delphi
procedure SaveToStream(Stream: TStream); overload;
procedure SaveToStream(Stream: TStream; Encoding: TEncoding); overload;
C++
void __fastcall SaveToStream(System::Classes::TStream* Stream)/* overload */;
void __fastcall SaveToStream(System::Classes::TStream* Stream, System::Sysutils::TEncoding* Encoding)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TCustomOutline |
Description
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.
See Also
Code Examples