printgraph_send_graph_object_to_printer_.htm
Navigation: ABC Library Reference > GraphClass > GraphClass Methods >====== PrintGraph (send graph object to printer) ====== | |
PrintGraph( bestfit )
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 , TakeEventOfParent
printgraph_send_graph_object_to_printer_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1