G''day,
I am exporting to excel using ExcelRW, and the code I have copies the Grid''s table style to the excel workbook''s table style before looping through all of the rows/cols. When copying that first style, we check the GridStyleInfo.Font.HasUnderline property - if it is true, we set the the underline property of the excel sheet to Single. However, I just noticed that the HasUnderline property is true - however the Underline property is false. Since we check HasUnderline, and then set an enum value in the excel sheet, the Underline property is ignored.
Is this a bug? Has something been set wrong? Why do we have a HasUnderline for a boolean property anyway?
I have attached an image showing the QuickWhatch of the style in Visual Studio.
Cheers.
GridStyleInfo.Font discrepencies.zip