Overview
Style is a class in Aspose.Cells FOSS for Typescript.
Inherits from: StyleType.
Properties
| Name | Type | Access | Description |
|---|
font | : Font | Read | |
fill | : Fill | Read | |
border | : Border | Read | |
alignment | : Alignment | Read | |
numberFormat | : string | Read | |
protection | : Protection | Read | |
Methods
| Signature | Description |
|---|
constructor() | |
getFont() → Font | |
setFont(font: Font) | |
getFill() → Fill | |
setFill(fill: Fill) | |
getBorder() → Border | |
setBorder(border: Border) | |
getAlignment() → Alignment | |
setAlignment(alignment: Alignment) | |
setNumberFormat(format: string) | |
getNumberFormat() → string | undefined | |
setProtection(protection: Protection) | |
isBold() → boolean | |
setBold(bold: boolean) | |
isItalic() → boolean | |
setItalic(italic: boolean) | |
getFontName() → string | |
setFontName(name: string) | |
getFontSize() → number | |
setFontSize(size: number) | |
getFontColor() → string | undefined | |
setFontColor(color: string) | |
getForegroundColor() → string | undefined | |
setForegroundColor(color: string) | |
getBackgroundColor() → string | undefined | |
setBackgroundColor(color: string) | |
getHorizontalAlignment() → string | |
setHorizontalAlignment(alignment: Alignment["horizontal"]) | |
getVerticalAlignment() → string | |
setVerticalAlignment(alignment: Alignment["vertical"]) | |
isWrapText() → boolean | |
setWrapText(wrapText: boolean) | |
isLocked() → boolean | |
setLocked(locked: boolean) | |
isHidden() → boolean | |
setHidden(hidden: boolean) | |
toXml() → string | |
See Also