Previous: 4.53.2.1.6. justifyText() To the Table of Contents Next: 4.53.2.1.8. loadFromOffset()
4.53.2.1.6. justifyText() Table of Contents 4.53.2.1.8. loadFromOffset()

- 4.53.2.1.7. -
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.7. load()


4.53.2.1.7. load()

Targets: MS-DOS, Win32 console


ogFont Unit

Loads a font.

Declaration:
 function load(const fontFile:string):boolean;
Remarks:

Loads a DPF off disk.

This method is functionally equivalent to ogBitFont.loadFrom(fontFile, 0);

Return value:

TRUE if successful, FALSE if failure.

See also:







Previous: 4.53.2.1.6. justifyText() To the Table of Contents Next: 4.53.2.1.8. loadFromOffset()
4.53.2.1.6. justifyText() Table of Contents 4.53.2.1.8. loadFromOffset()

- 4.53.2.1.7. -