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

NameTypeAccessDescription
Font-Read/WriteGets or sets the font.
Borders-Read/WriteGets or sets the borders.
Pattern-Read/WriteGets or sets the pattern.
ForegroundColor-Read/WriteGets or sets the foreground color.
BackgroundColor-Read/WriteGets or sets the background color.
Number-Read/WriteGets or sets the number.
Custom-Read/WriteGets or sets the custom.
HorizontalAlignment-Read/WriteGets or sets the horizontal alignment.
VerticalAlignment-Read/WriteGets or sets the vertical alignment.
WrapText-Read/WriteGets or sets the wrap text.
ShrinkToFit-Read/WriteGets or sets the shrink to fit.
RelativeIndent-Read/WriteGets or sets the relative indent.
IsLocked-Read/WriteGets or sets the is locked.
IsHidden-Read/WriteGets or sets the is hidden.
QuotePrefix-Read/WriteGets or sets the quote prefix.

Methods

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

See Also