How can we set wordwrap/nowrap in a rich textbox using the API?

Thanks...