Sheet to image conversion - Apply double underline on a cell and save the worksheet as image in .NET
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; 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:
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.