The View Object

Every Window and Pane object has a View object associated with it, accessed by the View property. You saw the View object used above to control pane display. You also use the View object to control other aspects of the document display in the window or pane. The properties of the View object you'll use most often are described in Table 5.8.

Table 5.8. Important properties of the View object.
PropertyDescription
DraftTrue/False value specifying whether the document is displayed in draft mode.
FieldShadingSpecifies how document fields are shaded. Possible settings are wdFieldShadingAlways, wdFieldShadingNever, and wdFieldShadingWhenSelected.
WrapToWindowSet to True to wrap lines of text to the window width rather than to the page width. ...

Get Office® XP Development with VBA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.