API Reference > OdDb Classes > OdDbXRefManExt Class > OdDbXRefManExt Methods > addNewXRefDependentTextStyle Method > OdDbXRefManExt::addNewXRefDependentTextStyle Method (OdDbObjectId, OdString&)
OdDbXRefManExt::addNewXRefDependentTextStyle Method (OdDbObjectId, OdString&)
Syntax
C++
static OdDbTextStyleTableRecordPtr addNewXRefDependentTextStyle(OdDbObjectId xRefBlockId, const OdString& textStyleName);
Parameters 
Description 
OdDbObjectId xRefBlockId 
[in] Object ID of the Xref Block Table Record.  
const OdString& textStyleName 
[in] Name of the text style. 

Returns a SmartPointer to the newly added Text Style Table Record.

Adds an Xref dependent text style to the specified Xref block. 

 

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