API Reference > OdRx Classes > OdRxDescriptionAttribute Class > OdRxDescriptionAttribute Methods > OdRxDescriptionAttribute::createObject Method
OdRxDescriptionAttribute::createObject Method
Syntax
C++
static OdRxAttributePtr createObject(const OdString& description, unsigned int id = 0, unsigned int sourceHint = 0);
Parameters 
Description 
const OdString& description 
[in] Description string.  
unsigned int id = 0 
[in] Resource ID of the string.  
unsigned int sourceHint = 0 
[in] Resource ID hint. 

Smart pointer to a constructed attribute object.

Constructor. Creates an attribute to store a description string resource ID and a resource ID hint. 

 

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