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
| Name | Type | Access | Description |
|---|---|---|---|
BackgroundPatternColor | System.Drawing.Color | Read/Write | Gets or sets the color that’s applied to the background of the Shading object. |
ForegroundPatternColor | System.Drawing.Color | Read/Write | Gets or sets the color that’s applied to the foreground of the Shading object. |
Texture | TextureIndex | Read/Write | Gets or sets the shading texture. |
ForegroundPatternThemeColor | ThemeColor | Read/Write | Gets or sets the foreground pattern theme color in the applied color scheme that is associated with this Shading object. |
BackgroundPatternThemeColor | ThemeColor | Read/Write | Gets or sets the background pattern theme color in the applied color scheme that is associated with this Shading object. |
ForegroundTintAndShade | double | Read/Write | Gets or sets a double value that lightens or darkens a foreground theme color. |
BackgroundTintAndShade | double | Read/Write | Gets or sets a double value that lightens or darkens a background theme color. |
Methods
| Signature | Description |
|---|---|
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. |