Hi,
I need to convert aspose cells to PDF. I am using aspose cells V4.8.0.4.
And i am facing one issue with aspose cells while im saving a file to xlm file with fileformattype.asosepdf. Error Message: “Index was outside the bounds of the array.“
Herewith i have attached the sample file.
Dim xmlFile As String = designerFile & “.xml”
Dim wb As Aspose.Cells.Workbook = New Aspose.Cells.Workbook
If (designerFile.ToLower().EndsWith(”.xlsx”) = True) Then
wb.Open(designerFile, FileFormatType.Excel2007Xlsx, “”)
Else
wb.Open(designerFile)
End If
wb.Save(xmlFile, FileFormatType.AsposePdf) <== Error in this line
Dim pdf As Aspose.Pdf.Pdf = New Aspose.Pdf.Pdf
pdf.BindXML(xmlFile, Nothing)
pdf.Save(pdfFile)
Regards,
Karthik