CREATE FONT


PLBCMP GUI Only

square.png Properties

square.png Methods

square.png Instructions

 

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:

 

 

[label]

CREATE

{font},{name}[,{property list}...]

 

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:

  1. The various properties may all be changed dynamically using the SETPROP instruction and the current values may be retrieved using the GETPROP instruction.

  2. 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:

  3. If {name} contains blanks, it should be enclosed by single quote characters, i.e., '{name}'.

 

 

See Also: Example Code, CREATE, Object Output Instructions

 



PL/B Language Reference CREATE FLOATMENU CREATE GROUPBOX