View.DisplayBackgrounds property (Word)

Returns or sets a Boolean that represents whether background colors and images are shown when a document is displayed in print layout view. .

Syntax

expression. DisplayBackgrounds

expression An expression that returns a 'View' object.

Remarks

Corresponds to the Background colors and images (Print view only) option located on the View tab of the Options dialog box.

Example

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

ActiveDocument.ActiveWindow.View.DisplayBackgrounds = False

See also

View Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.