The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Say I have 4 chart controls embeded in another control, and I want to provide the user an option to print all 4 charts at-once.
I''d like each chart to be placed on a separate page.
I know how to invoke the printing on each one, using the chartControl.PrintDocument...
HOWEVER: What I need is a way for the user to be able to preview these as 4 pages of one document.
IN other words: How do I merge the 4 printdocuments from the 4 chartControls into one print document, with 4 pages, so that the PrintPreview control will show as 4 separate pages?
Figured it out:
Instead of using the chartControl.PrintDocument(),
create your own PrintDocument, setup the PrintPage event handler, and for each required page call ChartControl.Draw(e.Graphics, rect)
>Say I have 4 chart controls embeded in another control, and I want to provide the user an option to print all 4 charts at-once.
>
>I''d like each chart to be placed on a separate page.
>
>I know how to invoke the printing on each one, using the chartControl.PrintDocument...
>
>HOWEVER: What I need is a way for the user to be able to preview these as 4 pages of one document.
>
>IN other words: How do I merge the 4 printdocuments from the 4 chartControls into one print document, with 4 pages, so that the PrintPreview control will show as 4 separate pages?
>
>
>
ADAdministrator Syncfusion Team June 27, 2006 04:48 AM UTC
Hi ERobishaw ,
Good to hear that you got everything work fine.
Thanks for your interest in Essential Chart.
Regards,
F.Rashidha
SRSriRam July 7, 2006 12:43 PM UTC
Hi Rashida,
How can we print all the charts in a sigle page? Or After some data i would like to print the chart in a page. How it can be done?
Sriram M.
>Hi ERobishaw ,
>
>Good to hear that you got everything work fine.
>
>Thanks for your interest in Essential Chart.
>
>Regards,
>F.Rashidha
ADAdministrator Syncfusion Team July 10, 2006 09:10 AM UTC
Hi Sriram,
Please take look at the samples attached. Let me know if this helps.
ChartRealTime.zipRealMode3DChartSample.zip
Thanks for using Syncfusion Products.
Regards,
Rashidha.