TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
-
Sinais
- Newbie
- Posts: 5
- Joined: Fri May 19, 2006 12:00 am
- Location: Galicia, Spain
Post
by Sinais » 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:
Code: Select all
private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e)
{
tChart1.Chart.Draw(e.Graphics, GetRealMarginBounds(e, true));
}
How can I make Chart.Draw not to print the background?
-
Narcís
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Tue Oct 03, 2006 10:22 am
Hi Sinais,
You can try using:
Code: Select all
tChart1.Printer.PrintPanelBackground=false;