WordWrap property

Applies to
TWPCustomRtfEdit

Declaration
property WordWrap: Boolean;

Description
If this property is set to TRUE this means that the text is formatted to the width of the editor, not the paper size defined in the property Header or the section, this disables the WYSIWYG printing printing.
When WordWrap is set to false, word wrapping is still performed, but not using the width of the editor but the defined page size. You can, of course, set WordWrap to false and still modify the page size dynamically (Header.PageWidth according to the size of the editor. In this case WYSIWYG printing is possible, but you probably need to set the flag PrintParameter.PrintOptions := [wpDoNotChangePrinterDefaults] - otherwise the printer will select a custom paper size.

Category
Format-Properties
Layout


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com