Shading

Overview

Shading is a class in Aspose.Words FOSS for .NET. Inherits from: InternableComplexAttr, IComplexAttr.

Contains shading attributes for an object.

This class provides 4 methods for working with Shading objects in .NET programs. Available methods include: ClearFormatting, Equals, GetHashCode. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: BackgroundPatternColor, BackgroundPatternThemeColor, BackgroundTintAndShade, ForegroundPatternColor, ForegroundPatternThemeColor, ForegroundTintAndShade, and 1 more.

Properties

NameTypeAccessDescription
BackgroundPatternColorSystem.Drawing.ColorRead/WriteGets or sets the color that’s applied to the background of the Shading object.
ForegroundPatternColorSystem.Drawing.ColorRead/WriteGets or sets the color that’s applied to the foreground of the Shading object.
TextureTextureIndexRead/WriteGets or sets the shading texture.
ForegroundPatternThemeColorThemeColorRead/WriteGets or sets the foreground pattern theme color in the applied color scheme that is associated with this Shading object.
BackgroundPatternThemeColorThemeColorRead/WriteGets or sets the background pattern theme color in the applied color scheme that is associated with this Shading object.
ForegroundTintAndShadedoubleRead/WriteGets or sets a double value that lightens or darkens a foreground theme color.
BackgroundTintAndShadedoubleRead/WriteGets or sets a double value that lightens or darkens a background theme color.

Methods

SignatureDescription
ClearFormatting()Removes shading from the object.
Equals(rhs: Shading)Determines whether the specified Shading is equal in value to the current Shading.
Equals(obj: object)Determines whether the specified object is equal in value to the current object.
GetHashCode()Serves as a hash function for this type.

See Also