コード例 #1
0
 private void Init()
 {
     if (_sheet == null)
     {
         if (!_wb.TryGetWorksheet(SheetName, out _sheet))
         {
             _sheet = _wb.AddWorksheet(SheetName);
             _sheet.SetCalcEngineCacheExpressions(false);
         }
         _sheet.Visibility = XLWorksheetVisibility.VeryHidden;
     }
     _row  = _minRow = _prevrow = 1;
     _clmn = _minClmn = _prevclmn = 1;
     Clear();
     _sheet.Style = _wb.Worksheets.First().Style;
 }