CODAlignCommand::SetAlignment

inline voidCODAlignCommand::SetAlignment(OD_ALIGNMENTnAlignment)

Sets the alignment type used to reposition the components.

Defined in: OdAlignCmd.h

Return Value

void

Parameters

nAlignment

The alignment type. Can be any one of the following values:

OD_ALIGN_TOP

Align the tops of components.

OD_ALIGN_MIDDLE

Align the middles of components.

OD_ALIGN_BOTTOM

Align the bottoms of components.

OD_ALIGN_LEFT

Align the left sides of components.

OD_ALIGN_CENTER

Align the centers of components.

OD_ALIGN_RIGHT

Align the right sides of components.