Sign in Join
FPDoc Onlineexperiment

TGraphic.SaveToFile procedure

Member of TGraphicpublicIn unit Graphics

Writes graphic data to the specified file name.

Declaration

pascal
procedure SaveToFile(const Filename: string); virtual

Description

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.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.