public TableColumns(TableBox table, PdfDistance[] columWidth)
        {
            if (table is null)
            {
                throw new ArgumentNullException(nameof(table));
            }
            if (columWidth is null)
            {
                throw new ArgumentNullException(nameof(columWidth));
            }

            _table = table;

            PdfDistance left = PdfDistance.Zero;

            for (int col = 0; col < columWidth.Length; ++col)
            {
                base.Add(new TableColumn(_table, left, columWidth[col]));
                left += columWidth[col];
            }
        }
Beispiel #2
0
 public TableRows(TableBox table)
 {
     _table = table;
 }
Beispiel #3
0
 public TableRow(TableBox table, int[] colSpans)
 {
     _table = table;
     _cells = new TableCells(this, colSpans);
 }
 public TableColumn(TableBox table, PdfDistance left, PdfDistance width)
 {
     _table    = table;
     _setLeft  = left;
     _setWidth = width;
 }