Hi,
I am using the following code to convert XLS to PDF:
Workbook wb = new Workbook();
wb.Open(inputFile);
//Save the document in Aspose.Pdf.Xml format:
wb.Save(“C:\out.xml”, FileFormatType.AsposePdf);
Pdf pdf = new Pdf();
pdf.BindXML(“C:\out.xml”, null);
pdf.Save(“C:\out.pdf”); // < Error occurs here
But an error occurs:
“Unhandled Exception: System.ApplicationException: The reference paragraph for ParagraphRelative positioning is not found:Cell_0_1_0”
It seems to be occurring whenever there is a simple Box in the spreadsheet…(see Book2.xls)
I am using Aspose.Cells 4.4.3.21, and Aspose.Pdf 3.6.2.0 with .NET framework 2.0.50727…