Free Support Forum - aspose.com

Excel to PDF conversion with Text Box (TextObject)

Hi,

I am running into some issues when saving a workbook to PDF when a worksheet has a Text Box/Text Object.

From the attached PDF you will notice that the lower block of text is missing bullet points. Is this expect? Also is there a way I can improve the image quality…it seems a bit grainy.

Attach:
input_excel_file.xlsx - input file
aspose_excel2pdf_output - Cells version of the PDF
desired_excel2pdf_output - PDF generated not using aspose (printing Excel to PDF)

Below is the code I am using to save the workbook as PDF.

Workbook workbook = new Workbook( inputFilePath );

PdfSaveOptions pdfOps = new PdfSaveOptions( SaveFormat.Pdf );
pdfOps.Compliance = Aspose.Cells.Rendering.PdfCompliance.PdfA1b;

workbook.Save( @“C:\logs\aspose_export_cells.pdf” , pdfOps);
Process.Start( @“C:\logs\aspose_export_cells.pdf” );

Hi,


Thanks for the sample files.

After an initial test, I have found the issue as you have mentioned. I have added a ticket for the issue with an id: CELLSNET-28874. We will figure it out soon.

Thank you.

Hi,

We have fixed this issue. Please download: Aspose.Cells for .NET v6.0.0.4.

We do not support bulletin in textbox currently, we will support it further.

This worked. Thanks!