Free Support Forum - aspose.com

Xls to pdf error : case 2

Please help

I'm using Aspose.Cells.dll version 4.4.1.0,

using the following code to convert excel to pdf. However, the page one is ok, but in page 2, the STOP logo is not in upper side but change to bottom side. Thanks.

Regards,

Paul.

Dim workbook As Aspose.Cells.Workbook = New Aspose.Cells.Workbook()

Dim fstream As FileStream = New FileStream("c:\\test2\\test.xls", FileMode.Open)
workbook.Open(fstream)

workbook.Save("c:\\test2\\test.xml", Aspose.Cells.FileFormatType.AsposePdf)

Dim pdf As Aspose.Pdf.Pdf = New Aspose.Pdf.Pdf()

pdf.BindXML("c:\\test2\test.xml", Nothing)

pdf.Save("c:\\test2\\test.pdf")
fstream.Close()

Hi Paul,

Which pdf version do you use?

It works fine with Aspose.Pdf 3.6.2.0.

Hi,

I'm using Aspose.pdf 3.6.0.0

Just download 3.6.2.0, It's work now and look fine.

Thank you very much.

Regards,

Paul