When top aligning the cell content- the horizontal alignment across cells are inconsistent

Hi team,

When i set top alignment to any cell content then the

the horizontal alignment across cells are inconsistent. (ie. Cell A1’s entry will show on output slightly higher than Cell B1’s content). I have attached the screenshot of the output pdf file for verification. I have created a DLL file , which user has to reference it in their console application and call
ReadandGenerate() function. I have also attached the input excel file.

Steps:

1) Create console application

2)Add reference to AsposeImplementation.dll(attached)

3)Call ReadandGenerate() function

4) Copy the input excel file(attached) to the bin\debug folder of your project.

5)Run your application

6)Output pdf file can be found in your “C:\FontIssue” folder.

Hi,

Thanks for your posting and using Aspose.Cells.

We were able to observe this issue. Horizontal alignment is not correct in the output pdf.

We have tested it with the latest version: Aspose.Cells
for .NET v7.7.2.6
using the following code but the issue persists. I have attached the output pdfs generated with MS-Excel and Aspose.Cells as well as screenshot for a reference.

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-42492.

C#


string filePath = @“F:\Shak-Data-RW\Downloads\IssueFont.xlsx”;


Workbook workbook = new Workbook(filePath);

workbook.Save(filePath + “.out.pdf”);


The issues you have found earlier (filed as CELLSNET-42492) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.