Page tree
Skip to end of metadata
Go to start of metadata

Description

This class is represents background shading for text, table cells, etc.

C#
vb.net

Remarks

MS Word equivalent: Format menu > Borders and Shading... > Shading tab

The following example demonstrates how to get the shading object of a paragraph.

Examples

C#
vb.net

Properties

Name

Description

BackgroundColor

Sets or returns a Color object that represents the background (fill) color. This is the main color used for shading.

ForegroundColor

Sets or returns a Color object that represents the foreground color. This is the alternate color that is used with patterns.

Pattern

Sets or returns a Shading.ShadingPattern object that represents the shading pattern used.

Nested Classes

Name

Description

ShadingPattern

Shading patterns that can be applied to an element.
  • No labels