API Reference > OdDb Classes > OdDbAnnotativeObjectPE Class > OdDbAnnotativeObjectPE Methods > OdDbAnnotativeObjectPE::setFromStyle Method
OdDbAnnotativeObjectPE::setFromStyle Method
Syntax
C++
virtual OdResult setFromStyle(OdDbObject* pObject, bool& bUpdated) = 0;
Parameters 
Description 
OdDbObject* pObject 
[in] Pointer to the object.  
bool& bUpdated 
[out] Returns True if the annotative property changes. 

Returns eOk if successful, or an appropriate error code if not.

Sets the annotative property of an object according to its corresponding style, such as styles of text objects. 

 

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