DhElement.setAlign

Overview | Methods | This Package | All Packages

DhElement.setAlign

Sets the alignment of the element.

Syntax

public void setAlign( int nAlign )

Parameters

nAlign

The desired alignment, specified as one of the DhAlignment constants.

Remarks

This alignment property generally affects child elements if this element is a container; otherwise, it affects alignment relative to adjacent text. To center-align, left-align, or right-align an element relative to the document, wrap it with a DhForm container.

See Also   getAlign