RichEdit.setSelAlignment

Overview | Methods | This Package | All Packages

RichEdit.setSelAlignment

Sets the paragraph alignment for the RichEdit control.

Syntax

public void setSelAlignment( int selAlignment )

Parameters

selAlignment

The paragraph alignment. This value must be one of the enumeration constants defined in the HorizontalAlignment class.

Exceptions

WFCInvalidEnumException thrown if the value specified in selAlignment is not a valid member of the HorizontalAlignment class.

Remarks

If no paragraph is selected, the alignment is applied to the paragraph in which the insertion point appears.

See Also   getSelAlignment