Font
Overview
Font is a class in Aspose.Cells FOSS for Php.
Font.Clone() creates a deep copy of a Font object, preserving its name, size, style, and color settings.
This class declares 6 methods for Font objects in Php programs.
Available methods include: Clone, Equals, ToString, __construct, __get, __set.
Public members are accessible to any Php application after installing the Aspose.Cells FOSS for Php package.
Properties: Color, IsBold, IsItalic, IsStrikeout, Name, Size, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Name | - | Read/Write | Gets or sets the name. |
Size | - | Read/Write | Gets or sets the size. |
Underline | - | Read/Write | Gets or sets the underline. |
IsBold | - | Read/Write | Gets or sets the is bold. |
IsItalic | - | Read/Write | Gets or sets the is italic. |
IsStrikeout | - | Read/Write | Gets or sets the is strikeout. |
Color | - | Read/Write | Gets or sets the color. |
Methods
| Signature | Description |
|---|---|
__construct() | Calls __construct on this Font instance. |
__get(propertyName) | Calls __get(propertyName) on this Font instance. |
__set(propertyName, value) | Calls __set(propertyName, value) on this Font instance. |
Equals(font) | Calls Equals(font) on this Font instance. |
ToString() | Calls ToString on this Font instance. |
Clone() | Creates a deep copy of a Font object, preserving its name, size, style, and color settings |