API Reference > OdDb Classes > OdDbMlineStyle Class > OdDbMlineStyle Methods > OdDbMlineStyle::addElement Method
OdDbMlineStyle::addElement Method
Syntax
C++
virtual int addElement(double offset, const OdCmColor& color, OdDbObjectId linetypeId, bool checkIfReferenced = true);
Parameters 
Description 
double offset 
[in] Offset of this element.  
const OdCmColor& color 
[in] Color of this element.  
OdDbObjectId linetypeId 
[in] Object ID of the linetype of this element.  
bool checkIfReferenced = true 
[in] Currently ignored. 

Returns the index of the newly added element.

Adds an element to this MLine Style object. 

 

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