Previous: 4.53.2.1.7. load() To the Table of Contents Next: 4.53.2.1.9. putChar()
4.53.2.1.7. load() Table of Contents 4.53.2.1.9. putChar()

- 4.53.2.1.8. -
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.8. loadFromOffset()


4.53.2.1.8. loadFromOffset()

Targets: MS-DOS, Win32 console


ogFont Unit

Loads a DPF from an offset.

Declaration:
 function loadFromOffset(const fontFile:string; offset:uInt32):boolean;
Remarks:

Loads a DPF from an offset in a file into a font object.

This method is useful for loading one of multiple DPFs which have been packed into a file.

Restrictions:

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

Return value:

TRUE if successful, FALSE if failure.

See also:







Previous: 4.53.2.1.7. load() To the Table of Contents Next: 4.53.2.1.9. putChar()
4.53.2.1.7. load() Table of Contents 4.53.2.1.9. putChar()

- 4.53.2.1.8. -