I have attached two files in the zip. A source xls file that I am converting to PDF and the resulting PDF.
You can see that the PDF and XLS file do not look the same. The XLS contains a Drawing Object “TextBox” and an image in it. We think there is an issue with line spacing or font size that is not being converted accurately to PDF.
Included below is the code that I’m executing to convert the spreadsheet.
using (Workbook workbook = new Workbook(tmpFc.TheFile))
{
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.OnePagePerSheet = true;
pdfSaveOptions.OptimizationType = Aspose.Cells.Rendering.PdfOptimizationType.Standard;
workbook.Save(tmpFc.PDFFileName, pdfSaveOptions);
}
ConverstionIssue.zip (123.6 KB)