printgridline not working

Dec 10, 2014 at 11:12 PM
code :
        InitializeWorkbook();

        ISheet sheet1 = hssfworkbook.CreateSheet("Sheet1");
        sheet1.FitToPage = false;
        sheet1.IsPrintGridlines = true;

not working in Excel 2010 and 2013

thank you