API Reference > OdDb Classes > OdDbModelDocViewStyle Class > OdDbModelDocViewStyle Methods > OdDbModelDocViewStyle::postViewStyleToDb Method
OdDbModelDocViewStyle::postViewStyleToDb Method
Syntax
C++
virtual OdDbObjectId postViewStyleToDb(OdDbDatabase* pDb, const OdString& styleName) = 0;
Parameters 
Description 
OdDbDatabase* pDb 
[in] Pointer of the database to receive the OdDbModelDocViewStyle object.  
const OdString& styleName 
[in] Name of the view style. 

Returns the OdDbObjectID of the newly added OdDbModelDocViewStyle object.

Includes this view style object in a OdDbDatabase object. 

 

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