|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home ChartPack BoxPlot Methods PrintIt|
|See also: CopyToOpenPrinter|
The method PrintIt provides a way to create a high resolution hardcopy on the currently selected printer. You may change the selected printer by assigning a proper value to the PrinterIndex property of the Printer object before calling PrintIt. The parameter ScaleF determines the magnification factor of the printout. A factor of 1.0 creates an output which has roughly the size of the screen image (assuming a monitor resolution of 80 dots per inch). If the parameter BlkWhite is set to TRUE, the colors of the chart are suppressed and the chart is printed in black and white. This is normally the best way to proceed with B&W printers.
Note, that PrintIt prints only the chart and its contents but not any auxiliary elements such as the crosshairs, or the mouse cursor.
The name of the printout (in the case you print to a file) will be set to the Caption of the chart, or, if the Caption is empty, to the Name property of the component.