This field only applies when the TXF_WRAP bit is set in the flags parameter, and neither of the flags TXF_FITVIEW or TXF_PRINTVIEW are set. In that case, it specifies the wrap width in character units. Note that with a proportional font, it may appear that the wrap trigger is different on each line.
If TXF_FITVIEW is specified, then this field is ignored and the wrap width is equal to the control width.
If TXF_FITVIEW is not specified and txc'wrapwidth is 0, then the wrap width will be determined by the ruler or the printer page width.
If TXF_PRINTVIEW is specified, txc'wrapwidth is ignored and wrap is determined by the combination of the paper width (txc'papersize), margins (txc'mgnleft, txc'marginright), and font (txc'fontface, txc'fontsize).
If the TXFF_TEXT_LINES bit is set in the txc'docfmt'dst parameter, the output lines will be terminated with line breaks at the point of the wrap (regardless of how the wrap was determined).