TXC.WRAPWIDTH

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 printed 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).