class CODAlignCommand: public CODMacroCommand
Aligns components relative to an anchor component (the last component in the set.
Defined in: OdAlignCmd.h
VIEWS_API CODAlignCommand(CODModel* pModel)
Constructor.
VIEWS_API virtual ~CODAlignCommand()
Destructor.
OD_ALIGNMENT m_nAlignment
The alignment type used to reposition components.
VIEWS_API void GetAlignment(OD_ALIGNMENT& nAlignment) const
Gets the alignment type.
VIEWS_API void SetAlignment(OD_ALIGNMENT nAlignment)
Sets the alignment type.
VIEWS_API virtual void AddComponent(CODComponent* pComp)
Adds a component to the list of affected components.
VIEWS_API virtual void AddComponents(CODComponentSet* pCompSet)
Adds multiple components to the list of affected components.
VIEWS_API virtual void RemoveComponent(CODComponent* pComp)
Removes a component to the list of affected components.
VIEWS_API virtual void RemoveAllComponents()
Removes all of the components of affected components.
VIEWS_API virtual BOOL Execute()
Align the components, updating the position of the any affected links.
VIEWS_API virtual void Sprint(CString& strCmd)
Print information on the command for logging purposes.