API Reference > OdDbRoot Classes > OdDbBaseDatabasePE Class > OdDbBaseDatabasePE Methods > OdDbBaseDatabasePE::getVisualStyleId Method
OdDbBaseDatabasePE::getVisualStyleId Method
Syntax
C++
virtual OdDbStub* getVisualStyleId(OdDbBaseDatabase* db, const OdString& name) const = 0;
Parameters 
Description 
OdDbBaseDatabase* db 
[in] A pointer to a database, from which the visual style data will be retrieved.  
const OdString& name 
[in] A visual style name.
 

Returns the visual style object identifier if it was found or OdDbObjectId::kNull value in the other case.

Returns an object identifier of a visual style with a specified name from a specified database.

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