Hi
I am using Aspose.Cells (4.5.1.1) and Aspose.PDF (3.8.0.3) to open a workbook, extract one of the worksheet and save it as a PDF file.
It was working correctly until I changed to the latest version.
The problem I have now is that the height of the lines in the PDF version are about twice as they should be. Any ideas on the cause of this? Do you have any fix that were released since then that I could test?
Code looks like this:
'Save to a stream
Dim ms As IO.MemoryStream = New IO.MemoryStream
objWorkbook.Save(ms, FileFormatType.AsposePdf)
Dim pdf1 As Aspose.Pdf.Pdf = New Aspose.Pdf.Pdf()
pdf1.IsTruetypeFontMapCached = True
pdf1.TruetypeFontMapPath = pOutputPath
pdf1.IsImagesInXmlDeleteNeeded = True
'Bind the XML file (containing spreadsheet data) with the Pdf object
pdf1.BindXML(ms, Nothing)
'Create the PDF document by calling its Save method
pdf1.Save(IO.Path.Combine(pOutputPath, pOutputFileName))
pdf1 = Nothing
ms.Dispose()
ms = Nothing