API Reference > OdDg Classes > OdDgCompoundLineStyleResource Class > OdDgCompoundLineStyleResource Methods > OdDgCompoundLineStyleResource::setComponent Method
OdDgCompoundLineStyleResource::setComponent Method
Syntax
C++
bool setComponent(OdUInt32 uIndex, const OdDgCompoundLineStyleComponentInfo& component);
Parameters 
Description 
OdUInt32 uIndex 
[in] Index of the componenet in the compound resource.  
const OdDgCompoundLineStyleComponentInfo& component 
[in] Component data to set. 

Sets a component of a compound linestyle. 

 

Returns true if setting component data is successful.

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