This technical tip shows how to convert an Excel XLS file to PDF even if it contains any images or
This technical tip shows how to convert an Excel XLS file to PDF even if it contains any images or charts within it.
Rate This technical tip shows how to convert an Excel XLS file to PDF even if it contains any images or
(2(2 Vote))
// Saving an XLS file in Aspose.Pdf xml format
Workbook wb = new Workbook();
wb.Open("C:\\book1.xls);
wb.Save("C:\\xls2pdf.xml", FileFormatType.AsposePdf);
// Converting XLS file to PDF through Aspose.Pdf using Aspose.Pdf xml file as a medium
Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();
pdf.BindXML("c:\\xls2pdf.xml", null);
pdf.Save("C:\\xls2pdf.pdf");
[VB]
' Saving an XLS file in Aspose.Pdf xml format
Dim wb as Workbook = new Workbook()
wb.Open("C:\book1.xls)
wb.Save("C:\xls2pdf.xml", FileFormatType.AsposePdf)
' Converting XLS file to PDF through Aspose.Pdf using Aspose.Pdf xml file as a medium
Dim pdf as Aspose.Pdf.Pdf = new Aspose.Pdf.Pdf()
pdf.BindXML("c:\\xls2pdf.xml", null)
pdf.Save("C:\xls2pdf.pdf")
More about Aspose.Cells
Aspose.Cells Homepage: http://www.aspose.com/categories/file-format-components/aspose.cells-for-.net-and-java/default.aspx
Read more technical tips by Aspose.Cells: http://www.aspose.com/documentation/file-format-components/aspose.cells-for-.net-and-java/technical-tips.html
More about Aspose.Pdf
Aspose.Pdf Homepage: http://www.aspose.com/categories/file-format-components/aspose.pdf-for-.net-and-java/default.aspx
Read more technical tips by Aspose.Pdf: http://www.aspose.com/documentation/file-format-components/aspose.pdf-for-.net-and-java/technical-tips.html
Contact Information
Suite 119, 272 Victoria Avenue
Chatswood, NSW, 2067
Australia
http://www.aspose.com/
[email protected]
Phone: 888.277.6734
Fax: 866.810.9465l
This technical tip shows how to convert an Excel XLS file to PDF even if it contains any images or Comments
No comments yet — be the first to post one!
Post a Comment