version 6.0.5
AP Save GIF (image; file) Longint
| Parameter | Type | Description | |
| image | Picture | Name of a 4D picture variable | |
| file | Text | Name of the file in which the GIF will be saved | |
| Function result | Longint | 0, if the operation was successful; | |
| otherwise a system error code |
Description
AP Save GIF saves any 4D picture variable in a GIF picture. It works on both Macintosh and Windows platforms.
If the operation is successfully completed, the function returns 0; otherwise, it returns a negative error code.
This command requires 4D version 6.0.5 or later. In earlier versions of 4D, the command returns -1.
See Also