Share

AcDbTable::setNumColumns

C++

virtual ADESK_DEPRECATED Acad::ErrorStatus setNumColumns(
    int nCols
);

Description

This function sets the number of columns for the table. The input number of columns must be greater than zero. An invalid input value will not be accepted and the function will return Acad::eInvalidInput. In that circumstance, the AcDbTable object may use the current setting (default to 1) for number of columns. It is the responsibility of the application to check the return status of the function and take proper action if the return status is not Acad::eOk.

Parameters

Parameters Description
nCols Input integer specifying the number of columns for the table

Links

AcDbTable

Was this information helpful?