FONT Resource

This resource-definition statement specifies a file that contains a font a font to be used as a resource.

Syntax

nameID FONT [filename]

Parameters

nameID

Specifies a unique 16-bit unsigned integer value identifying the resource.

filename

Specifies the name of the file that contains the resource. The name must be a valid file name, and it must be a full path if the file is not in the current working directory. The path can either be a quoted or nonquoted string.

Example

The following code example shows how to specify a single font resource.

5 FONT CMROMAN.FNT