API Reference > OdDb Classes > OdDbMText Class > OdDbMText Methods > OdDbMText::setField Method
OdDbMText::setField Method
Syntax
C++
OdDbObjectId setField(const OdString& fieldName, OdDbField* pField);
Parameters 
Description 
const OdString& fieldName 
[in] Name (key) for the new entry.  
OdDbField* pField 
[in] Pointer to the field object. 

Returns the Object ID of the new entry.

Adds the specified field to the field dictionary of this object. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.