Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Publishing UltraWinChart and UltraWinGrid Together
posted

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;

 

 

Infragistics.Documents.Report.

ICanvas gCanvas = group.AddCanvas();

gCanvas.Width =

new Infragistics.Documents.Report.FixedWidth(200);

Infragistics.Documents.Report.

ICanvas gCanvas= group.AddCanvas();

gCanvas.Margins.All = 10;

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 ?

Parents
No Data
Reply Children
No Data