Previous: 4.53.2.1.11. save() To the Table of Contents Next: 4.53.2.1.13. setBGColor()
4.53.2.1.11. save() Table of Contents 4.53.2.1.13. setBGColor()

- 4.53.2.1.12. -
Table of Contents
4. Standard Units
4.53. ogFont - BitFont support for ObjGfx 4.0
4.53.2. ogFont Unit Objects
4.53.2.1. ogBitFont object
4.53.2.1.12. saveToOffset()


4.53.2.1.12. saveToOffset()

Targets: MS-DOS, Win32 console


ogFont Unit

Saves a font to an offset in a file.

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

Saves a DPF to an offset in a file.

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

If the offset is -1 and the file exists the sprite 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.53.2.1.11. save() To the Table of Contents Next: 4.53.2.1.13. setBGColor()
4.53.2.1.11. save() Table of Contents 4.53.2.1.13. setBGColor()

- 4.53.2.1.12. -