Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

C1.C1Preview.Export.XlsExporter

$
0
0

Hi,
I wanted my c1report to export to an excel file, the same way it gets exported to PDF.
so, i used the following code to achieve it.
If FileFormat.Equals("XLS") Then
Dim exporter As New C1.C1Preview.Export.XlsExporter
exporter.FixedPositioning = True
exporter.Paginated = True
exporter.ShowOptions = False
exporter.BookContent = Xls.XlsBookContentEnum.Text
exporter.Tolerance = 0
exporter.DataOnly = True
exporter.Preview = True
exporter.Document = C1Quote.Document
exporter.Export(FilePath)
EndIf
but the way it gets exported is not same as if it gets exported to PDF. Am not knowing where i am going wrong.
Do i have to write code to format cells?? or is there any property to achieve this?
I have attached both Xls and PDF files. You can feel the difference in it.
Please help me to export to excel file in a more cleaner way. Please its very urgent requirement, Please HELP ME!!!!!!!!!! REPLYYY PLSSS..

Regards,
Suguna


Viewing all articles
Browse latest Browse all 14170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>