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

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

Will fill empty cells with valid blank Cells
public Complete ( ) : void
Результат void
        public void Complete() {
            if (mTableInserted == true) {
                MergeInsertedTables();  // integrate tables in the table
                mTableInserted = false;
            }
            if (autoFillEmptyCells == true) {
                FillEmptyMatrixCells();
            }
        }

Usage Example

Пример #1
0
        // constructors
        /**
         * Constructs a <CODE>PdfTable</CODE>-object.
         *
         * @param   table   a <CODE>Table</CODE>
         * @param   left    the left border on the page
         * @param   right   the right border on the page
         * @param   top     the start position of the top of the table
         */
        internal PdfTable(Table table, float left, float right, float top, bool supportUpdateRowAdditions)
            : base(left, top, right, top)
        {
            // constructs a Rectangle (the bottomvalue will be changed afterwards)
            this.table = table;
            table.Complete();

            // copying the attributes from class Table
            CloneNonPositionParameters(table);

            this.columns = table.Columns;
            positions = table.GetWidths(left, right - left);

            // initialisation of some parameters
            Left = positions[0];
            Right = positions[positions.Length - 1];

            headercells = new ArrayList();
            cells = new ArrayList();

            UpdateRowAdditionsInternal();
            if (supportUpdateRowAdditions) {
                table.DeleteAllRows();
            }
        }
All Usage Examples Of iTextSharp.text.Table::Complete