Any way to enable wordwrap in the texport programmatically?

Is there any way to enable wordwrapping in the texport programmatically, or as a default?