[]
Represents the interior of an object.
Provides access to the background color and fill pattern of a supported object, such as a cell or range. Use an IInterior instance to configure fill appearance by applying a Color and a Pattern.
public interface IInterior
Public Interface IInterior
worksheet.Range["A1"].Value = "Test";
IInterior interior = worksheet.Range["A1"].Interior;
interior.Pattern = Pattern.Solid;
interior.Color = Color.Blue;
| Name | Description |
|---|---|
| Color | Gets or sets the color of the represented interior. |
| ColorIndex | Gets or sets the color of the interior. |
| Gradient | Gets the gradient of an interior object for a selection. |
| Pattern | Gets or sets the interior pattern. |
| PatternColor | Gets or sets the color of the pattern for the represented interior. |
| PatternColorIndex | Gets or sets the color of the interior pattern as an index into the current color palette. Use this property to read the palette-based color index applied to the current interior pattern. The returned value can also be a special value from ColorDataIndex, such as Automatic or None. |
| PatternThemeColor | Gets or sets a theme color pattern for an Interior object. Use this property to read the theme color applied to the pattern foreground of the interior. Pattern theme colors are typically used together with a patterned fill. |
| PatternTintAndShade | Gets or sets the tint and shade value of the interior pattern. Use this property to read how the current pattern color is lightened or darkened. The valid number is from -1 (darkest) to 1 (lightest). Zero (0) is neutral. |
| ThemeColor | Gets or sets the theme color in the applied color scheme that is associated with the specified object. |
| TintAndShade | Gets or sets a value that lightens or darkens a color. The valid number is from -1 (darkest) to 1 (lightest). Zero (0) is neutral. |