AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkImage.Save Method

Saves the image to the file name specified.

Syntax
Pascal
procedure Save(const Filename: String);
Parameters 
Description 
const Filename: String 
name of the file to save to. 

The file will be placed in the app's write folder at the location currently specified by TAgkDirectory.CurrentFolder. Alternatively you can specify a path beginning with a forward slash to choose a location from the root of the write folder, ignoring any TAgkDirectory.CurrentFolder folder. It is recommended that you use the extension ".png" at the end of the filename to save in PNG format. Some platforms may support additional extensions such as ".jpg" but this is not guaranteed to work on all platforms.

Copyright (c) 2012. All rights reserved.