@LEGEND (Legend Size/Location)

This macro can be used to specify a fixed size/location for the chart legend. If you want the chart legend to be the exact same size and in the same location on each page of a report, this macro will position the chart frame at the specified X/Y coordinates.

SYNTAX:

@LEGEND nUpperLeftX nUpperLeftY nLowerRightX nLowerRightY

PARAMETERS:

nUpperLeftX, nUpperLeftY; -16382...+16382 specifies the X/Y position of the upper left corner of the chart legend in virtual coordinates

nLowerRightX, nLowerRightY; -16382...+16382 specifies the X/Y position of the lower right corner of the chart legend in virtual coordinates

EXAMPLE: @LEGEND.RPT

@LEGEND -10000 1110 13383 -14000

PERSISTENT:

YES

REQUIREMENTS:

Crystal Reports 10 or Higher

ALSO SEE:

@LEGEND_ORDER, @LEGEND_WRAP_WIDTH

Next Macro Previous Macro Return to Alpha List

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