RAD Studio VCL Reference
|
Saves the contents of the attachment to a specified file.
procedure SaveToFile(AFileName: string);
__fastcall SaveToFile(AnsiString AFileName);
Call SaveToFile to save the contents of the attachment to a specified file. This content can come from
The temporary file that the CacheFile property indicates.
The stream that the SourceStream property specifies.
The file that the SetSourceFile method supplies.
The string that the SourceString property specifies.
AFileName is the name of the file to which SaveToFile writes the content of the attachment.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|