We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Table loses left and right borders when saved to pdf or converted to a range

Please see the attached file and these methods:


public void SaveToPdf()
{
var workbook = new Workbook(GetFullPath(“sample.xlsx”));
workbook.Save(GetFullPath(“result.pdf”), SaveFormat.Pdf);
}

public void CovertToRange()
{
var workbook = new Workbook(GetFullPath(“sample.xlsx”));
workbook.Worksheets[0].ListObjects[0].ConvertToRange();
workbook.Save(GetFullPath(“result.xlsx”));
}

Hi,

Thanks for your posting and using Aspose.Cells.

We were able to replicate this issue using the latest version:

        <a href="https://forum.aspose.com/t/38453">Aspose.Cells
            for .NET v8.6.3.4</a>
        after converting your source excel file into pdf. The left and right borders of the table are lost after conversion.<br><br>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.<br><br>This issue has been logged as <br><br><ul><li><b>CELLSNET-44174</b> - Table loses left and right borders when saved to pdf or converted to a range</li></ul><br>I have attached the output pdf of this code and the screenshot highlighting the issue for a reference.<br><br><b>C#</b><br><div class="csharpcode"><font color="#800080">string filePath = @"F:\Shak-Data-RW\Downloads\sample.xlsx";<br><br>Workbook workbook = new Workbook(filePath);<br>workbook.Save(filePath + ".out.pdf");<br></font><br></div>

Hi,

Thanks for using Aspose.Cells.

It is to inform you that we have fixed your issue CELLSNET-44174 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

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


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