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
710
Last two rows get disaligned while printing the report to pdf or exporting the report to xps
posted

Hi,

I am using Infragistics.Windows.Reporting.Report to print a XamDatagrid to pdf /export it to xps,

When I do this all the rows and columns get printed/exported fine apart from the last two rows of Page 1 of the report.

The last two rows of page 1 get dis aligned in the report but its fine on the xamdatagrid, Its only the report where it gets dis aligned

Here is the code i am using which is very simple, Also I am attaching the lower part of the page 1 of the report

                        Report myReport = new Report();

                        EmbeddedVisualReportSection myXamDatGridReport =

                            new EmbeddedVisualReportSection(this.xamDataGrid1);

                        myReport.Sections.Add(myXamDatGridReport);

                        myReport.ReportSettings.PageOrientation = PageOrientation.Landscape;

                        myReport.ReportSettings.HorizontalPaginationMode = HorizontalPaginationMode.Scale;

                        myReport.Print(true, true);

 

 

Please help

Thanks

Sumeet

 

Parents Reply Children