Share via


View.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.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property DisplayBackgrounds As Boolean
    Get
    Set
'Usage
Dim instance As View
Dim value As Boolean

value = instance.DisplayBackgrounds

instance.DisplayBackgrounds = value
bool DisplayBackgrounds { get; set; }

Property Value

Type: System.Boolean

Remarks

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

See Also

Reference

View Interface

View Members

Microsoft.Office.Interop.Word Namespace