API Reference > OdDbRoot Classes > OdDbBaseDatabasePE Class > OdDbBaseDatabasePE Methods > OdDbBaseDatabasePE::getTextStyleById Method
OdDbBaseDatabasePE::getTextStyleById Method
Syntax
C++
virtual bool getTextStyleById(OdDbBaseDatabase* db, OdDbStub* idStyle, OdGiTextStyle& shapeInfo) = 0;
Parameters 
Description 
OdDbBaseDatabase* db 
[in] A pointer to a database.  
pLTypeId 
[in] A text style identifier to be searched for.  
LType 
[out] A reference to an OdGiTextStyle object to store found text style information.
 

Returns true if the text style object was found with the specified identifier, otherwise returns false.

Searches for a text style object by its identifier in the specified database.

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