See image one on the attachement, with a positive figure and then below it a negative figure, the brackets are slighty to the right, so that the figures fall under each other correctly. However on print preview (see image 2 on the attachement), that falls away, and the brackets are now inline with the figures above, which is the incorrect formatting. Shouldn’t do it.
I've attached the excel file that I am using and a document with screen shots for imag 1 and 2.
My C# Code:
Workbook book = new Workbook("c:\\IFRS SME Financials.xlsx");
Worksheet sheet = book.Worksheets[8];ImageOrPrintOptions imgOptions = new ImageOrPrintOptions();
imgOptions.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg;
imgOptions.OnePagePerSheet = true;
SheetRender sr = new SheetRender(sheet, imgOptions);
Bitmap bitmap = sr.ToImage(0);
bitmap.Save("c:\\TestPreview.gif");
Let me know, Thanks!