Share

AcDbTable::generateLayout

C++

virtual Acad::ErrorStatus generateLayout();

Description

This function will update the table object according to the current table style. It computes table geometry, including grid lines, text content, block content, and background fills, from given definition data and table style. The generated table geometry are maintained internally by member data mpEntities, which is a list of in-memory AcDbEntity pointers.

This function does not generate the table block. The table block is created automatically from the in-memory entity list when the application posts the table object to database and closes the object.

This function empowers the table object for full use regardless of its database status--resident or non-resident. The generated in-memory table geometry will be deleted automatically by table object destructor.

Returns Acad::eOk if successful. Otherwise, returns Acad::eInvalidInput.

Links

AcDbTable

Was this information helpful?