Sheet to image conversion - Apply double underline on a cell and save the worksheet as image in .NET


When i save a report with cells having double underline formatting in image format.
i’m getting thick line instead of double line under the text.
Thanks and Regards


Thanks for your question and using Aspose.Cells for .NET

I am afraid, double underline is not supported in rendering images. Only single underline is supported at a moment.

We have logged a request for this new feature in our database. Once there is some update for you, we will let you know asap.

This issue has been logged as CELLSNET-41049.

Please see the sample test code below. I have also attached the source xlsx file, the output image and screenshot for your reference.


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

Workbook workbook = new Workbook(filePath);

Worksheet worksheet = workbook.Worksheets[1];

ImageOrPrintOptions opts = new ImageOrPrintOptions();

opts.OnePagePerSheet = true;

opts.ImageFormat = ImageFormat.Jpeg;

SheetRender render = new SheetRender(worksheet, opts);

render.ToImage(0, filePath + “.out.jpg”);

Screenshot & Output Image:


I have verified with your latest version and found this issue not resolved.
Please fix this.
Thanks and Regards


Thanks for your input.

We are afraid, this issue will take much time, so it is not possible to implement it soon and it could take many months too.

In case, we have some other update for you, we will let you know asap by posting on this thread.

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

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