GcSpread.Sheets Namespace : Style class |
var instance = new GcSpread.Sheets.Style(backColor, foreColor, hAlign, vAlign, font, themeFont, formatter, borderLeft, borderTop, borderRight, borderBottom, locked, textIndent, wordWrap, shrinkToFit, backgroundImage, cellType, backgroundImageLayout, tabStop, textDecoration, imeMode, name, parentName, watermark);
function Style;
Object
GcSpread.Sheets.Style
Name | Description | |
---|---|---|
Style Constructor | Represents the style for a cell, row, and column. |
Name | Description | |
---|---|---|
backColor | Indicates the background color. | |
backgroundImage | Indicates the background image. | |
backgroundImageLayout | Indicates the background image layout. | |
borderBottom | Indicates the bottom border line. | |
borderLeft | Indicates the left border line. | |
borderRight | Indicates the right border line. | |
borderTop | Indicates the top border line. | |
cellType | Indicates the cell type. | |
font | Indicates the font. | |
foreColor | Indicates the foreground color. | |
formatter | Indicates the formatter. | |
hAlign | Indicates the horizontal alignment. | |
imeMode | Indicates the Input Method Editor (IME) mode. | |
locked | Indicates whether a cell is marked as locked from editing. | |
name | Indicates the name. | |
parentName | Indicates the name of the parent style. | |
shrinkToFit | Indicates whether to shrink to fit. | |
tabStop | Indicates whether the user can set focus to the cell using the Tab key. | |
textDecoration | Indicates the decoration added to text. | |
textIndent | Indicates the number of units of indentation for text in a cell, an integer value, where an increment of 1 represents 8 pixels. | |
themeFont | Indicates the font theme. | |
validator | Indicates the data validator. | |
vAlign | Indicates the vertical alignment. | |
watermark | Indicates the watermark content. | |
wordWrap | Indicates whether to wrap text. |
Name | Description | |
---|---|---|
clear | Clears the specified property value based on the property name. | |
compose | Composes settings from another style for the current style. | |
copyFrom | Copies settings from another style to the current style. |