Writes graphic data to the specified file name.
Source position: graphics.pp line 824
public procedure TGraphic.SaveToFile( |
const Filename: string |
); virtual; |
Filename |
|
The name of the file where the graphic data is stored. |
SaveToFile is a procedure used to write the graphic data in the class instance to the specified file name. Filename is the fully-qualified file name on the local file system where the data is stored, and may contain UTF-8-encoded characters.
SaveToFile creates a temporary TFileStreamUTF8 instance that is used to write graphic data by calling the SaveToStream method.