@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
2 = Subtitle
3 = X1-Axis Title
4 = Y1-Axis Title
5 = Y2-Axis Title
6 = Footnote
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 1 2

PERSISTENT:

YES

REQUIREMENTS:

Crystal Reports 11 or higher

Next Macro Previous Macro Return to Alpha List

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

Next New Macro Previous New Macro Return to New Macros Page