RichEdit.setWordPunctuation

Overview | Methods | This Package | All Packages

RichEdit.setWordPunctuation

Sets the type of punctuation table to be used to determine the RichEdit control's word-wrap and word-break layout.

Syntax

public void setWordPunctuation( int punc )

Parameters

punc

The punctuation table to be used. This value must be one of the enumeration constants defined in the RichEditWordPunctuation class.

Exceptions

WFCInvalidEnumException thrown if the punc parameter is not a valid member of the RichEditWordPunctuation class.

Remarks

This method is used in conjunction with the setWordBreak and setWordWrap methods to determine the layout of text in the RichEdit control.

This method is valid for use only on Asian versions of the Windows operating system.

See Also   getWordPunctuation