iTextSharp.text.Table.DeleteColumn C# (CSharp) Метод

DeleteColumn() публичный Метод

Deletes a column in this table.
public DeleteColumn ( int column ) : void
column int the number of the column that has to be deleted
Результат void
        public void DeleteColumn(int column) {
            float[] newWidths = new float[--columns];
            System.Array.Copy(widths, 0, newWidths, 0, column);
            System.Array.Copy(widths, column + 1, newWidths, column, columns - column);
            Widths = newWidths;
            System.Array.Copy(widths, 0, newWidths, 0, columns);
            widths = newWidths;
            Row row;
            int size = rows.Count;
            for (int i = 0; i < size; i++) {
                row = (Row) rows[i];
                row.DeleteColumn(column);
                rows[i] = row;
            }
            if (column == columns) {
                curPosition.X++;
                curPosition.Y = 0;
            }
        }