Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TMS VCL Chart
Printing GDI+ charts

Below is a sample to print GDI+ charts:

http://www.tmssoftware.net/public/PrintDemo.zip

The GDI+ charts are a combination of GDI and GDI+. some elements are drawn in GDI and some elements are drawn in GDI+. Therefore printing a GDI+ chart directly on the printer canvas (which has a different DPI) results in elements with incorrect dimensions. The sample shows how a GDI+ chart can be printed on a bitmap, which is then printed on the printer canvas.