SIZE Property


PLBCMP GUI Only

 

The SIZE property specifies the point size for a FONT object. The property uses the following format:

SIZE={value}

Note the following:

  1. SIZE may be used in CREATE, SETPROP, or GETPROP statements of a FONT object.

  2. The {value} is a point size for a font. The size may be specified with a single decimal point.

  3. The font size value calculates a font character height that is then used by the Windows font mapper to find an available font that best fits the specified font size.

  4. {value} may be a decimal number, numeric variable or numeric literal.

Example:

MYFONT

FONT

 

NVAR

FORM

"8.5"

.

 

 

 

CREATE

FONT,">Arial",SIZE=NVAR

 

CREATE

FONT,">Arial",SIZE="9.7"

 

CREATE

FONT,">Arial",SIZE=10

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference SHOWWEBMENU Property SIZEGRIP Property