Printing Multiple Charts on single page
Posted: Thu Jan 28, 2010 3:39 pm
Folks,
Good afternoon. I have read a number of posts on printing multiple charts but none seem to have a problem I am encountering. I have successfully add 3 charts/panels to my preview panel and can view them perfectly in the preview window (see attached). However, when I print, it only partially prints the top chart at the uppermost part of the page, cutting it off half way. The twist is that when I check the Smooth option within the preview panel it prints perfect. I have tried setting the SmoothBitmap option to true but it doesn't update the check box, or have an effect when I print directly without displaying the preview panel.
Any help greatly appreciated.
Code snapshot:
chart1->PrintProportional = false;
chart1->PrintMargins = Rect( 2, 15, 2, 60 );
Prev->PreviewPanel()->Panels->Add( chart1 );
chart2->PrintProportional = false;
chart2->PrintMargins = Rect( 2, 40, 2, 35 );
Prev->PreviewPanel()->Panels->Add( chart2 );
chart3->PrintProportional = false;
chart3->PrintMargins = Rect( 2, 65, 2, 10 );
Prev->PreviewPanel()->Panels->Add( chart3 );
Good afternoon. I have read a number of posts on printing multiple charts but none seem to have a problem I am encountering. I have successfully add 3 charts/panels to my preview panel and can view them perfectly in the preview window (see attached). However, when I print, it only partially prints the top chart at the uppermost part of the page, cutting it off half way. The twist is that when I check the Smooth option within the preview panel it prints perfect. I have tried setting the SmoothBitmap option to true but it doesn't update the check box, or have an effect when I print directly without displaying the preview panel.
Any help greatly appreciated.
Code snapshot:
chart1->PrintProportional = false;
chart1->PrintMargins = Rect( 2, 15, 2, 60 );
Prev->PreviewPanel()->Panels->Add( chart1 );
chart2->PrintProportional = false;
chart2->PrintMargins = Rect( 2, 40, 2, 35 );
Prev->PreviewPanel()->Panels->Add( chart2 );
chart3->PrintProportional = false;
chart3->PrintMargins = Rect( 2, 65, 2, 10 );
Prev->PreviewPanel()->Panels->Add( chart3 );