Previous: 4.51.2.3.12. save() To the Table of Contents Next: 4.51.2.3.14. saveToOffset()
4.51.2.3.12. save() Table of Contents 4.51.2.3.14. saveToOffset()

- 4.51.2.3.13. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.3. ogSprite object
4.51.2.3.13. saveToFile()


4.51.2.3.13. saveToFile()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Saves a sprite to an open file.

Declaration:
 function saveToFile(var outFile:file):boolean; virtual;
Remarks:

Saves a sprite to an open file. The responsibility of opening the file, seeking to the proper location, and closing the file is up to the application designer.

This method is useful for saving a sprite to a file stream.

Return value:

TRUE if successful, FALSE if failure.

See also:







Previous: 4.51.2.3.12. save() To the Table of Contents Next: 4.51.2.3.14. saveToOffset()
4.51.2.3.12. save() Table of Contents 4.51.2.3.14. saveToOffset()

- 4.51.2.3.13. -