Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

void PoDoFo::PdfTable::SetColumnWidths ( double *  pdWidths )

Set the width of all columns.

pdWidthsa pointer to an array of GetCols() doubles which are the individual width of a column.
See also:

Definition at line 416 of file PdfTable.cpp.

References GetCols().

    if( m_pdColWidths )
        delete [] m_pdColWidths;
        m_pdColWidths = NULL;

    if( pdWidths ) 
        m_pdColWidths = new double[this->GetCols()];
        memcpy( m_pdColWidths, pdWidths, this->GetCols() * sizeof(double) );

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index