Print Preview
Posted: Mon Oct 02, 2006 4:35 pm
I'm making my own print preview dialog.
I would like to know how to implement the option "Format->Print background" from the standard tChart print preview dialog.
I'm drawing the preview with:
How can I make Chart.Draw not to print the background?
I would like to know how to implement the option "Format->Print background" from the standard tChart print preview dialog.
I'm drawing the preview with:
Code: Select all
private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
{
tChart1.Chart.Draw(e.Graphics, GetRealMarginBounds(e, true));
}