Hi, I have eight charts in the form and want to print them in one page.
In VB6, I was able to do this by using the following code:
Printer.Print
Chart(0).DrawToDC Printer.hDC, oc2dFormatEnhMetafile, oc2dScaleToFit, 0, 200, Printer.ScaleWidth / Printer.TwipsPerPixelX, Printer.ScaleHeight / Printer.TwipsPerPixelY
Chart(1).DrawToDC Printer.hDC, oc2dFormatEnhMetafile, oc2dScaleToFit, 0, 1200, Printer.ScaleWidth / Printer.TwipsPerPixelX, Printer.ScaleHeight / Printer.TwipsPerPixelY
Chart(2).DrawToDC Printer.hDC, oc2dFormatEnhMetafile, oc2dScaleToFit, 0, 2200, Printer.ScaleWidth / Printer.TwipsPerPixelX, Printer.ScaleHeight / Printer.TwipsPerPixelY
Chart(3).DrawToDC Printer.hDC, oc2dFormatEnhMetafile, oc2dScaleToFit, 0, 3200, Printer.ScaleWidth / Printer.TwipsPerPixelX, Printer.ScaleHeight / Printer.TwipsPerPixelY
..........
Printer.EndDoc
How to do this in VB.net using C1chart?
Thanks,