@USER_FILL (User-Defined Color-Filled Rectangle)

On 2D charts, this macro fills a portion of the chart frame with a specified color and optional phrase. Set fStartX and fStopX to zero to select the lower left corner of the chart frame.

SYNTAX:

@USER_FILL fStartX fStopX fStartY fStopY nRed nGreen nBlue szPhrase

PARAMETERS:

fStartX; 0.0...1.1 X-Axis start location

fStopX; 0.0...1.1 X-Axis stop location

fStartY; 0.0...1.1 Y-Axis start location

fStopY; 0.0...1.1 Y-Axis stop location

nRed; 0...255, nGreen; 0...255, nBlue; 0...255

szPhrase; Optional phrase. Add a tilde character (~) to this string if you intend to define another macro in the same title field.

EXAMPLE:

This example fills the lower left quadrant of the chart frame (0.0 0.5 .0. 0.5) with yellow (255 255 0), and draws the phrase "Hello" in the middle.

@USER_FILL 0.0 0.5 0.0 0.5 255 255 0 Hello

PERSISTENT:

NO

REQUIREMENTS:

Crystal Reports 9.x or higher

NOTES:

Next Macro Previous Macro Return to Alpha List

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