DisplayBackgrounds Property

Microsoft Word Visual Basic

DisplayBackgrounds Property

Returns or sets a Boolean that represents whether background colors and images are shown when a document is displayed in print layout view. Corresponds to the Background colors and images (Print view only) option located on the View tab of the Options dialog box.

expression.DisplayBackgrounds

expression    Required. An expression that returns a View object.

Example

The following example hides background colors and images when the active document is displayed in print layout view.

    ActiveDocument.ActiveWindow.View.DisplayBackgrounds = False