API Reference > OdDb Classes > OdDbShape Class > OdDbShape Methods > OdDbShape::setStyleId Method
OdDbShape::setStyleId Method
Syntax
C++
OdResult setStyleId(OdDbObjectId styleId);
Parameters 
Description 
OdDbObjectId styleId 
[in] Style Object ID. 

Sets the Object ID of the OdDbTextStyleTableRecord containing the SHX font file for this Shape entity.

A Shape entity is a single character of an SHX font. This function sets a reference to that font.

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