Hi ,
I want to Publish UltraWinChart and UltraWinGrid together to PDF as seen in the Image.
My Chart and Grid are Displayed like this in UI , I need same in PDF
I am new to infragistics , I have gone through the example provided in NetAdvantage Toolkit but couldn’t Figure out how to do it.
I am Using some random Code to Horizontal Group Chart and Grid
Infragistics.Documents.Report.
IGroup group = s.AddGroup();
group.Borders = new Infragistics.Documents.Report.Borders(Infragistics.Documents.Graphics.Pens.Black);
group.Margins.Vertical = 5;
group.Paddings.All = 5;
group = s.AddGroup();
group.Layout = Infragistics.Documents.Report.
Layout.Horizontal;
ICanvas gCanvas = group.AddCanvas();
gCanvas.Width =
new Infragistics.Documents.Report.FixedWidth(200);
ICanvas gCanvas= group.AddCanvas();
gCanvas.Width = new Infragistics.Documents.Report.FixedWidth(200);
UltraChart.RenderPdfFriendlyGraphics(gCanvas.CreateGraphics());
//Exporting Grid
DocXport.Export(grdSalesData,section);
r.Publish(
"C:\\Report.pdf", FileFormat.PDF);
But When "DocXport.Export" called Its Seems Like it is Always Exporting the Grid in New page.
Is there any Example that will show ,How We can Do it ?
Hi,
another great solution to this problem is given in this great post:
http://blogs.infragistics.com/blogs/sung_kim/archive/2009/02/18/publishing-dynamic-files-pdf-xps-creation-using-the-infragistics-document-library.aspx
by Sung Kim. Excellent work!
Greetings,
Frank Piotrowsky
knipschildstr. 3 34497 korbach germany tel. (0 56 31) 506 347 - 10 fax (0 56 31) 506 347 - 19 internet: http://www.frankpiotrowsky.com internet: http://www.frankpiotrowsky.de internet: http://www.pmd-media.com eMail: frank.piotrowsky@pmd-media.com facebook: http://www.facebook.com/pages/Frank-Piotrowsky/168804802393 xing: http://www.xing.com/profile/Frank_Piotrowsky linkedin: http://www.linkedin.com/in/frankpiotrowsky friendfeed: http://www.friendfeed.com/frankpiotrowsky delicious: http://www.delicious.com/FrankPiotrowsky blog: http://blog.pmd-media.com youtube: http://www.youtube.com/user/FrankPiotrowsky