/// <summary> /// Clear all borders /// </summary> /// <remarks> /// The table will be displayed with no borders or gris lines. /// </remarks> public void ClearAllBorders() { // set is not allowed if (Parent.Active || TopBorder == null) { throw new ApplicationException("Set bordes after SetColumnWidth and before table is active."); } // clear all horizontal borders TopBorder.Clear(); BottomBorder.Clear(); HeaderHorBorder.Clear(); CellHorBorder.Clear(); // clear all vertical border lines for (var Index = 0; Index <= Columns; Index++) { HeaderVertBorder[Index].Clear(); CellVertBorder[Index].Clear(); } }
/// <summary> /// Clear header horizontal border line /// </summary> public void ClearHeaderHorBorder() { TestInit(); HeaderHorBorder.Clear(); }