ExcelInterior module
- class ExcelInterior.ExcelInterior
Bases:
SpireObject,IInteriorUsed to get or set interior settings for Excel cells and shapes.
This class encapsulates the properties and methods for managing the interior formatting of cells and shapes in Excel, including background colors, patterns, and gradient effects. It implements the IInterior interface to provide standard interior formatting functionality.
- property Color: Color
Gets or sets the background color using RGB values.
This property determines the background color of the cell or shape interior.
- Returns:
A Color object representing the RGB color of the background.
- Return type:
Color
- property FillPattern: ExcelPatternType
Gets or sets the fill pattern for the interior.
This property determines the pattern used to fill the cell or shape interior, such as solid, dotted, striped, etc.
- Returns:
An enumeration value representing the fill pattern type.
- Return type:
ExcelPatternType
- property Gradient: ExcelGradient
Gets the gradient object for this interior.
The gradient object contains properties for configuring gradient fill effects, including colors, style, and variants.
- Returns:
The gradient object for this interior.
- Return type:
- property KnownColor: ExcelColors
Gets or sets the background color using predefined Excel colors.
This property determines the background color of the cell or shape interior.
- Returns:
An enumeration value representing the predefined Excel color for the background.
- Return type:
ExcelColors
- property PatternColor: Color
Gets or sets the pattern color using RGB values.
This property determines the color of the pattern applied to the cell or shape interior.
- Returns:
A Color object representing the RGB color of the pattern.
- Return type:
Color
- property PatternKnownColor: ExcelColors
Gets or sets the pattern color using predefined Excel colors.
This property determines the color of the pattern applied to the cell or shape interior.
- Returns:
An enumeration value representing the predefined Excel color for the pattern.
- Return type:
ExcelColors
- m_interior() IInterior
Gets the internal IInterior interface implementation.
This method is primarily used internally to access the underlying interior object.
- Returns:
The internal IInterior interface implementation.
- Return type:
IInterior
