@FONTNAME (Font Name)

This macro can be used to assign a global font to a font object in a chart. It is useful when you need to dynamically change a font to look better in another language (Japanese, for example).

SYNTAX:

@FONTNAME nObject nFontIndex

PARAMETERS:

nObject; 1...11 selects one of the following chart objects:
1 = Title
3 = X1-Axis Title
4 = Y1-Axis Title
5 = Y2-Axis Title
6 = Reserved for Future Use
7 = Data Text
8 = O1-Axis Labels or X1-Axis Labels depending on the chart type
9 = Y1-Axis Labels
10 = Y2-Axis Labels
11 = Legend Text

nFontIndex; 0...2 selects one of the following global fonts:
0 = Arial
1 = MS PGothic
2 = Impact

EXAMPLE: @FONTNAME.WID

@HQ 1 @BEVEL 3 1 @COLOR_SCHEME 5 @FONTNAME 1 0 @FONTNAME 8 1 @FONTNAME 11 2

ALSO SEE:

@FONTANGLE, @FONTSIZE

Next Macro Previous Macro Return to Alpha List

Next Macro in this Group Previous Macro in this Group Return to Group List