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

NameTypeAccessDescription
Name-Read/WriteGets or sets the name.
Size-Read/WriteGets or sets the size.
Underline-Read/WriteGets or sets the underline.
IsBold-Read/WriteGets or sets the is bold.
IsItalic-Read/WriteGets or sets the is italic.
IsStrikeout-Read/WriteGets or sets the is strikeout.
Color-Read/WriteGets or sets the color.

Methods

SignatureDescription
__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

See Also