Table of Contents

PrintRect function

Description

Prints a rectangle relative to the page, beginning at the top left and extending to the bottom right coordinate of the rectangle measured in inches.

Syntax

status = PrintRect(top, left, bottom, right)

Returns

True for successful execution or False for failure.

Example

/* Sets the printer to draw a rectangle that measures
2 inches x 4 inches. */
RetVal = PrintRect(1, 1, 2, 4)

return
 
**
**