API Reference > OdDb Classes > OdDbMLeader Class > OdDbMLeader Methods > OdDbMLeader::setFirstVertex Method
OdDbMLeader::setFirstVertex Method
Syntax
C++
OdResult setFirstVertex(int leaderLineIndex, const OdGePoint3d& point);
Parameters 
Description 
int leaderLineIndex 
[in] Leader line index.  
const OdGePoint3d& point 
[in] New position for the first vertex. 

Returns eOk if successful.

Sets the first vertex of the specified leader line. 

 

Note that this function only sets the values for an existing first vertex, but does not create any new vertices.

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