GC.Spread.Sheets Namespace : Style class |
var instance = new GC.Spread.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, cellPadding, labelOptions);
function Style;
Object
GC.Spread.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. | |
cellPadding | Indicates the cell padding. | |
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. | |
labelOptions | Indicates the cell label options. | |
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. |