Share

AcDbTable::setFieldId (int, int, AcDbObjectId&, AcDb::CellOption) Method

C++

virtual Acad::ErrorStatus setFieldId(
    int row, 
    int col, 
    const AcDbObjectId& fieldId, 
    AcDb::CellOption nFlag
);

Description

Sets the id of the field at the specified index.

Returns Acad::eOk if successful; otherwise, returns an AutoCAD error status.

Parameters

Parameters Description
row Input integer specifying the zero-based row index for the cell
col Input integer specifying the zero-based column index for the cell
fieldId Input AcDbField object ID
nFlag Input one of the AcDb::CellOption values. If this is kInheritCellFormat then the format of the cell will be set in the field

Links

AcDbTable

Was this information helpful?