SaveToFile

Parent Previous Next

Procedure SaveToFile(AFileName : string) - Public

Call SaveToFile to save the image to disk.

ImagePainter relies on the file extension to decide what kind of graphics to save. There is built in support for BMP, JPG/JPEG, PNG *, GIF *, ICO  and IPD (= ImagePainter document files). Other formats must be handled in the OnSaveFile event.

See also
LoadFromFile procedure
OnSaveFile event

* Only Delphi 2009 and later.