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
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.
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro