Thanks for your posting and using Aspose.Cells.
We were able to observe this issue by executing the following code with your source excel file using the latest version: Aspose.Cells
for .NET v126.96.36.199. Removing the hyperlinks causes formatting issues in the output pdf.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as
- CELLSNET-43755 - Removing hyperlinks causes cell formatting issues
I have also attached the output pdf generated by the code for a reference.
string filePath = @“F:\Shak-Data-RW\Downloads\DrawingLog2.xls”;
var doc = new Aspose.Cells.Workbook(filePath);
var options = new Aspose.Cells.PdfSaveOptions();
foreach (Aspose.Cells.Worksheet ws in doc.Worksheets)
foreach (Aspose.Cells.Drawing.OleObject obj in ws.OleObjects)
foreach (Aspose.Cells.Drawing.Shape shape in ws.Shapes)
doc.Save(filePath + “.out.pdf”, Aspose.Cells.SaveFormat.Pdf);
Thanks for your using Aspose.Cells.
Please download and try the latest fix: Aspose.Cells for .NET v188.8.131.52 and let us know your feedback.