Posted 2 February 2018, 7:47 am EST
HI,
We have a client who used Active Reports 6, where they have a report having labels as headers with center alignment. When they export to excel and pdf it worked fine with proper alignment.
But, they recently upgraded the report to AR11 and after which the export to PDF worked fine, but export to excel is losing the alignment. They had all their headers center aligned in the report, bug the excel export is aligning it to the left (which was working fine with AR6).
I have attached a zip file containing the RDF, PDF output and XLS output.
Here is the code snippet that we use to export to excel. Please let me know if anything is missing here.
GrapeCity.ActiveReports.Export.Excel.Section.XlsExport XLSEx = new GrapeCity.ActiveReports.Export.Excel.Section.XlsExport();
this.WebRptViewer.Export(XLSEx, new System.IO.FileInfo(export_file_name));
Thanks.,
Siva G
Sample1.zip