| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > GraphClass > GraphClass Methods >====== PrintGraph (send graph object to printer) ====== | [[postevent send an event to the graphclass object .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[refresh refresh drawing of graphclass object .htm|{{btn_next_n.gif|Next page}}]] | | || **PrintGraph( **//bestfit //**)** {{blk2blue.jpg|blk2blue.jpg}} | **PrintGraph** | Pre-processes and draws graph object | | //bestfit// | A Boolean value that determines best fit or relative printing | The PrintGraph method allows to choose the printer, draw the graph object (using the DrawReport method), Preview the report, and send pages to the printer. If the //bestfit //flag is set to FALSE (default), the graph object will print "as is", anchoring the object at the top left corner of the paper. If the //bestfit //flag is set to TRUE, the graph object will resize to a best fit within the band that it is populated. **Implementation:** The **PrintGraph** method is called when graph events Event:Print, or Event:PrintBestFit are posted. **See Also:**     [[drawreport draw graph object on report .htm|DrawReport]] , [[takeeventofparent process all graph events .htm|TakeEventOfParent]]