We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with converting from xls -> xml -> pdf

Thread ID:

Created:

Updated:

Platform:

Replies:

66891 Aug 4,2007 01:43 AM UTC Aug 6,2007 10:55 AM UTC WinForms 1
loading
Tags: PDF
Khai Tran
Asked On August 4, 2007 01:43 AM UTC

Dear,
I want to convert from xls to pdf. This is my code:

Dim excelEngine As New ExcelEngine()
Dim application As IApplication = excelEngine.Excel

Dim workbook As IWorkbook = excelEngine.Excel.Workbooks.Open("Sample.xls")

Dim st As New System.IO.FileStream("Samples.xml",System.IO.FileMode.Create)
workbook.SaveAsXml(st, ExcelXmlSaveType.DLS)
st.Seek(0, System.IO.SeekOrigin.Begin)
Dim pdf As New Syncfusion.Pdf.DLS.PDFLogicDocument
pdf.OpenXml(st)
pdf.Save("samples.pdf")

st.Close()
excelEngine.ThrowNotSavedOnDestroy = False
excelEngine.Dispose()

The output pdf file has problems:
- Header & footer not correct
- Chart does not display
- Merge does not work
- Maybe it alway wraptext.

Anybody can help me?

Please see my attachment file (xls file & pdf output file) and please help me to check it.

Thanks,
KhaiTD.

sample148.zip

Melba Winshia [Syncfusion]
Replied On August 6, 2007 10:55 AM UTC

Hi Khai,

Currently we do not provide support for Xls to PDF conversion. Sorry for the inconvenience caused.

Please let me know if you have any other questions

Regards,
Melba

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;