All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

DraftingInterfaces Interface CATIDrwEltWithLeader

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIDrwEltWithLeader
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIDrwEltWithLeader

Interface on CATIDrwLeader list manager.

See also:
CATIDrwLeader


Method Index


o AddLeader(CATIDrwLeader_var)
Add a leader to the element.
o GetAnchorDeltas(CATListOfDouble&)
Returns a anchor point to use as a nchor point for leaders.
o GetAnchorDeltasAndVectors(CATListOfDouble&,CATLISTP(CATMathDirection2D)&)
Returns a anchor point to use as a nchor point for leaders.
o GetLeader(int)
Returns a particular leader.
o GetLeaderAnchorPoint(int)
Returns a anchor point to use as a nchor point for leaders.
o GetLeaderAnchorPoints(CATLISTP(CATMathPoint2D)&,CATListOfInt&)
Gives all the possible points to use as a nchor point for leaders.
o GetLeadersVisualization()
Returns the visualization mode of leaders.
o GetNbLeader()
Returns the number of leader on the element.
o RemoveLeader(int)
Remove a leader.
o SetLeadersVisualization(int)
Hide/Show all leaders.

Methods


o AddLeader
public virtual void AddLeader(CATIDrwLeader_var iLeader) = 0
Add a leader to the element.
Parameters:
iLeader
A interface on the leader to add.
o GetAnchorDeltas
public virtual HRESULT GetAnchorDeltas(CATListOfDouble& oListDelta) = 0
Returns a anchor point to use as a nchor point for leaders.
Parameters:
oListDelta
List of the delta without view scale put on each possible anchor point
o GetAnchorDeltasAndVectors
public virtual HRESULT GetAnchorDeltasAndVectors(CATListOfDouble& oListDelta,
CATLISTP(CATMathDirection2D)& oListV) = 0
Returns a anchor point to use as a nchor point for leaders.
Parameters:
oListDelta
List of the delta without view scale put on each possible anchor point
oListV
List of the vector for each delta
o GetLeader
public virtual CATIDrwLeader_var GetLeader(int iNoLeader) = 0
Returns a particular leader.
Parameters:
iNoLeader
The rank of the leader.
Returns:
A CATIDrwLeader interface on the leader
See also:
CATIDrwLeader
o GetLeaderAnchorPoint
public virtual CATMathPoint2D GetLeaderAnchorPoint(int NoPoint) = 0
Returns a anchor point to use as a nchor point for leaders.
Parameters:
NoPoint
The rank of the anchor point on the element.
Returns:
The coordinates of the point.
See also:
CATIDrwLeader.GetAnchorPoint
o GetLeaderAnchorPoints
public virtual void GetLeaderAnchorPoints(CATLISTP(CATMathPoint2D)& iPointListe,
CATListOfInt& iPointIsValid) = 0
Gives all the possible points to use as a nchor point for leaders.
Parameters:
iPointListe
The list of all points. Their rank in the list is the number you give to the CATIDrwLeader::SetAnchorPoint method.
iPointIsValid
The list of all rank that are allowed to use.
See also:
CATIDrwLeader.SetAnchorPoint
o GetLeadersVisualization
public virtual int GetLeadersVisualization()= 0
Returns the visualization mode of leaders.
Returns:
0 : Leaders are hidden
1 : Leaders are shown
o GetNbLeader
public virtual int GetNbLeader()= 0
Returns the number of leader on the element.
Returns:
The number of leader on the element.
o RemoveLeader
public virtual void RemoveLeader(int iNoLeader) = 0
Remove a leader.
Parameters:
iNoLeader
Rank of the leader to delete.
o SetLeadersVisualization
public virtual void SetLeadersVisualization(int iShowMode) = 0
Hide/Show all leaders.
Parameters:
iShowMode
0 : HideLeaders
1 : ShowLeaders

This object is included in the file: CATIDrwEltWithLeader.h
If needed, your Imakefile.mk should include the module: CATDraftingInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.