Shading Members (Word)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Contains shading attributes for an object.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

BackgroundPatternColor

Returns or sets the 24-bit color that's applied to the background of the Shading object. Read/write.

BackgroundPatternColorIndex

Returns or sets the color that's applied to the background of the Shading object. Read/write WdColorIndex.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

ForegroundPatternColor

Returns or sets the 24-bit color that's applied to the foreground of the Shading object. This color is applied to the dots and lines in the shading pattern. Read/write.

ForegroundPatternColorIndex

Returns or sets the color that's applied to the foreground of the Shading object. This color is applied to the dots and lines in the shading pattern. Read/write WdColorIndex.

Parent

Returns an Object that represents the parent object of the specified Shading object.

Texture

Returns or sets the shading texture for the specified object. Read/write WdTextureIndex.