Chapter Contents

Previous

Next
STYLE Variable (Fonts)

STYLE Variable (Fonts)


Specifies a font for text or symbols produced by the LABEL or SYMBOL functions.

Type: character
Length: Depends on specification.
Default: default hardware font


Syntax

Syntax

STYLE='font' | "'hardware-font-name'" | 'NONE';

font
specifies a font. Font can be either the name of a software font that is stored in a catalog or a hardware font specification of the form HWxxxnnn. For example, STYLE='CENTB' specifies a software font that is stored in the catalog SASHELP.FONTS. The maximum length for font is 8 characters.

hardware-font-name
specifies the name of a hardware font as shown in the Chartype window of the device entry. The maximum length for hardware-font-name is 256 characters. Hardware-font-name must be enclosed in both double and single quotation marks, for example, STYLE="'Palatino-Italic'".

NONE
specifies the default hardware font.

See SAS/GRAPH Fonts for more information about specifying fonts.

If the value of the STYLE variable is missing, SAS/GRAPH software searches for a font specification in this order:

  1. the font specified by the FTEXT= graphics option

  2. the hardware font, if the device supports one

  3. the SIMULATE font.


Chapter Contents

Previous

Next

Top of Page

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.