| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > IReportGenerator Interface > IReportGenerator Methods >====== ProcessRectangle (print a box control) ====== | [[processradio print a radio button .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[processstring print a string control .htm|{{btn_next_n.gif|Next page}}]] | | || **ProcessRectangle ( ***RectFormatGrp// rect, comment //**)** {{blk2blue.jpg|blk2blue.jpg}} | **ProcessRectangle** | Prints a BOX control to a target output document. | | //Rect// | A TYPEd GROUP structure that holds all of the properties of the target BOX control. | | //Comment// | A string constant, variable, EQUATE, or expression containing information necessary for the BOX to be properly rendered to the target document. | The **ProcessRectangle **method prints a BOX control to the appropriate document format. The //comment// parameter is used to send the appropriate formatting information to the target document type, and is limited to 2056 characters. (See [[comment set document formatting .htm|COMMENT]]) **Implementation:** The //rect //group contains the position, style, and other attributes of the BOX control from the contents of the passed //RectFormatGrp//.