API Reference > OdDb Classes > OdDbMlineStyle Class > OdDbMlineStyle Methods > OdDbMlineStyle::setElement Method
OdDbMlineStyle::setElement Method
Syntax
C++
void setElement(int elementIndex, double offset, const OdCmColor& color, OdDbObjectId linetypeId);
Parameters 
Description 
int elementIndex 
[in] Index of element to modify.  
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. 

Returns the index of the newly added element.

Sets the specified element of this MLine Style object. 

 

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