Previous: 4.51.2.1.13. saveToFile() To the Table of Contents Next: 4.51.2.2. ogDisplay object
4.51.2.1.13. saveToFile() Table of Contents 4.51.2.2. ogDisplay object

- 4.51.2.1.14. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.1. ogBlit object
4.51.2.1.14. saveToOffset()


4.51.2.1.14. saveToOffset()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Saves a blit to an offset in a file.

Declaration:
 function saveToOffset(const filename:string; offset:int32):boolean; virtual;
Remarks:

Saves a blit to an offset in a file.

This method is useful for saving multiple blits into a file.

If the offset is -1 and the file exists the blit will be appended to the file.

Restrictions:

Can only seek into a file up to 2GB in size.

Return value:

TRUE if successful, FALSE if failure.

See also:







Previous: 4.51.2.1.13. saveToFile() To the Table of Contents Next: 4.51.2.2. ogDisplay object
4.51.2.1.13. saveToFile() Table of Contents 4.51.2.2. ogDisplay object

- 4.51.2.1.14. -