CREATE FONT
PLBCMP GUI Only
The CREATE FONT statement initializes a FONT object. This object is used with other objects to set the font of the object. The statement format is:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
font
Required. The name of a previously defined FONT object variable or pointer to a FONT object.
name
Required. A Character String Variable or Literal containing the name of the font.
property list
Optional. One or more of the object properties.
Flags Affected: NONE
Note the following:
The various properties may all be changed dynamically using the SETPROP instruction and the current values may be retrieved using the GETPROP instruction.
For {name}, the logical string of the character variable or character literal describes the font. {font-name} is one of SYSTEM, FIXED, HELVETICA, or TIMES. These are the default fonts supported. If additional fonts are available, they may be accessed using one of the following font name strings:
>name - a Windows installed font is accessed by placing a '>' character before the font name.
>font-file.name - a font may be used from a font resource file by placing a '>' character before the font file name, a period and the member name.
If {name} contains blanks, it should be enclosed by single quote characters, i.e., '{name}'.
See Also: Example Code, CREATE, Object Output Instructions
![]() |