Style
Overview
Style is a class in Aspose.Cells FOSS for C++.
Represents a mutable cell style facade that can be applied to one or more cells.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Font | Font | Read | |
Borders | Borders | Read | |
FillPattern | FillPattern | Read | |
Color | Color | Read | The Color color. |
HorizontalAlignmentType | HorizontalAlignmentType | Read | |
VerticalAlignmentType | VerticalAlignmentType | Read |
Methods
| Signature | Description |
|---|---|
Font() → Font | |
Borders() → Borders | |
FillPattern() → FillPattern | |
Color() → Color | |
Color() → Color | |
HorizontalAlignmentType() → HorizontalAlignmentType | |
VerticalAlignmentType() → VerticalAlignmentType | |
GetNumberFormat() → std::string | Gets the resolved number format string. |
SetNumberFormat(value: std::string) | Sets the number format. Accepts either a built-in format string or a custom format code. |
SetIndentLevel(value: int) | Sets the indentation level. Must be between 0 and 250. |
SetTextRotation(value: int) | Sets the text rotation. Must be between 0 and 180, or 255 for vertical text. |
SetReadingOrder(value: int) | Sets the reading order. Must be 0, 1, or 2. |
Clone() → Style | Creates a copy of the current style. The cloned style. |
ToCore() → Core::StyleValue | Converts this style to a Core StyleValue. |
FromCore(value: Core::StyleValue) → Style | Creates a Style from a Core StyleValue. |