Style
Overview
Style is a class in Aspose.Cells FOSS for Php.
The Style class provides methods to copy, clone, compare, and convert styles, and exposes Font, Borders, Pattern, colors, number format, and alignment properties for full cell styling.
This class declares 9 methods for Style objects in Php programs.
Available methods include: Clone, Copy, Equals, FromCore, GetHashCode, ToCore, __construct, __get, __set.
Public members are accessible to any Php application after installing the Aspose.Cells FOSS for Php package.
Properties: BackgroundColor, Borders, Custom, Font, ForegroundColor, HorizontalAlignment, and 9 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Font | - | Read/Write | Gets or sets the font. |
Borders | - | Read/Write | Gets or sets the borders. |
Pattern | - | Read/Write | Gets or sets the pattern. |
ForegroundColor | - | Read/Write | Gets or sets the foreground color. |
BackgroundColor | - | Read/Write | Gets or sets the background color. |
Number | - | Read/Write | Gets or sets the number. |
Custom | - | Read/Write | Gets or sets the custom. |
HorizontalAlignment | - | Read/Write | Gets or sets the horizontal alignment. |
VerticalAlignment | - | Read/Write | Gets or sets the vertical alignment. |
WrapText | - | Read/Write | Gets or sets the wrap text. |
ShrinkToFit | - | Read/Write | Gets or sets the shrink to fit. |
RelativeIndent | - | Read/Write | Gets or sets the relative indent. |
IsLocked | - | Read/Write | Gets or sets the is locked. |
IsHidden | - | Read/Write | Gets or sets the is hidden. |
QuotePrefix | - | Read/Write | Gets or sets the quote prefix. |
Methods
| Signature | Description |
|---|---|
__construct() | Calls __construct on this Style instance. |
Copy(source) | Calls Copy(source) on this Style instance. |
__get(propertyName) | Calls __get(propertyName) on this Style instance. |
__set(propertyName, value) | Calls __set(propertyName, value) on this Style instance. |
Clone() | Calls Clone on this Style instance. |
Equals(obj) | Calls Equals(obj) on this Style instance. |
GetHashCode() | Calls GetHashCode on this Style instance. |
ToCore() | Calls ToCore on this Style instance. |
FromCore(value) | Calls FromCore(value) on this Style instance. |