ViewOptions property

Applies to
TWPPreview

Declaration
property ViewOptions: TWPViewOptions;

Description
This property shows or hides additional graphical effects. Please also note the property FormatOptions which is also used to modify the display. Unlike the FormatOptions the ViewOptions can be different for each editor which is attached to one text (multiview) while the FormatOptions have to be the same.

Add or remove the display of certain information or graphical effects.

wpShowGridlines - draw a gray line for table borders which would be otherwise invisible.
wpDisableHotStyles - disable the hot styles (or hover styles) which can be activated for hyperlinks or fields.
wpShowCR - show a paragraph symbol at the end of a paragraph
wpShowFF - displays a page break symbol at the end of a paragraph when the next paragraph starts on a new page
wpShowNL - displays an arrow for a new line
wpShowSPC - shows a dot for the code #32 (SPACE)
wpShowHardSPC - shows a dot for the code #160 (non breaking space)
wpShowTAB - show an arrow in the place of tabstops (suppressed if fillsigs are active)
wpNoEndOfDocumentLine - display a line at the end of the document (not in pagegap mode or page layout mode). Please ignore the 'No' in wpNoEndOfDocumentLine.
wpHideSelection - Always hides the selection
wpHideSelectionNonFocussed - hides thenselection when editor does not have the focus
wpShowPageNRinGap - displays a number or any other text provided by event OnPageGapGetText either at the right border or in a box under the page
wpDrawFineUnderlines - always draw thin underlines
wpDontGrayHeaderFooterInLayout - do not shaed the header and footer texts
wpInfiniteTextArea - makes it possible to show a text as if it is infinite. This can be used for a scroller control, for example to show news or credits. To scroll change the property TopOffset in a timer event.
wpDontPaintPageFrame - with page layout modes, do not draw a frame around the page
wpCenterPaintPages - center the page horizontally in the window. This is useful for preview windows.

Category
Layout


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