API Reference > OdDb Classes > OdDbMLeader Class > OdDbMLeader Methods > addLeaderLine Method > OdDbMLeader::addLeaderLine Method (OdGePoint3d&, int&)
OdDbMLeader::addLeaderLine Method (OdGePoint3d&, int&)
Syntax
C++
OdResult addLeaderLine(const OdGePoint3d& point, int& leaderLineIndex);
Parameters 
Description 
const OdGePoint3d& point 
[in] Specifies the first point of the new leader line.  
int& leaderLineIndex 
[out] Receives the index of the newly added leader line. 

Returns eOk if successful.

Adds a new leader line to this MLeader. The first point of the new leader line is passed in. 

 

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