Background Property

Applies To

Document object.

Description

Returns a Shape object that represents the background image for the specified document. Read-only.

Note Backgrounds are visible only in online layout view.

See Also

Fill property, UserPicture method, UserTextured method.

Example

This example sets the background color for online layout view to light gray for the active window.

ActiveWindow.View.Type = wdOnlineView
With ActiveDocument.Background.Fill
    .Visible = True
    .ForeColor.RGB = RGB(192, 192, 192)
End With
This example sets the background bitmap image of online layout view to Bubbles.bmp.

ActiveWindow.View.Type = wdOnlineView
ActiveDocument.Background.Fill.UserPicture PictureFile:="C:\Windows\Bubbles.bmp"