Icon SaveToFile Method

procedure SaveToFile(const FileName: String)

Available In: Server Applications

Use this method to write all of the data from the stream into the specified file. If the file already exists, it will be overwritten. Before the data is written, the stream's Position property is set to 0.
Image