TCustomTeePanel.PrintPartialCanvas

TCustomTeePanel.PrintPartialCanvas
TCustomTeePanel

procedure PrintPartialCanvas(Const PrintCanvas: TCanvas; Const PrinterRect: TRect);

Unit
TeeProcs

Description
The PrintPartialCanvas method can be used to send a Chart to the Printer device. This method assumes the Printer job has been started and do not ejects the Printer page. You can determine the printed chart position and dimensions in the PrinterRect parameter.

This method allows printing more than one chart on the same page, or printing charts, custom text and custom drawings.

The TChart.PrintResolution property controls how much "wysiwyg" printing will be applied.

Example
:

This code prints a chart on an already started printed job:

Chart1.PrintPartialCanvas(Printer.Canvas, Rect( 200, 200, 1000, 1000));


There are many other methods to print charts. See "See Also".