@USER_RECT (User-Defined Outlined Rectangle)

In 2D charts, this macro fills a portion of the chart frame with an outlined rectangle and optional phrase. Set fStartX and fStopX to zero to select the lower left corner of the chart frame. The rectangle is outlined with the specified color (nRed, nGreen, nBlue). The nThickness and nStyle parameters define the thickness and style of the outline of the rectangle.

SYNTAX:

@USER_RECT fStartX fStopX fStartY fStopY nRed nGreen nBlue nLineStyle nLineThickness 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 X-Axis stop location

nRed; 0...255 defines the RED portion of the RGB color

nGreen; 0...255 defines the GREEN portion of the RGB color

nBlue; 0...255 defines the BLUE portion of the RGB color

nLineStyle; 0...15 selects the line style



nLineThickness; 0...1000 Line Thickness

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

EXAMPLE: @USER_RECT.RPT

@USER_RECT 0.0 0.5 0.0 0.5 255 0 0 2 500 Three D Graphics

PERSISTENT:

NO

REQUIREMENTS:

Crystal Reports 9 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