SpreadJS Documentation
Style class
GC.Spread.Sheets Namespace : Style class
Represents the style for a cell, row, and column.
Syntax
var instance = new GC.Spread.Sheets.Style(backColor,
                                         foreColor,
                                         hAlign,
                                         vAlign,
                                         font,
                                         themeFont,
                                         formatter,
                                         borderLeft,
                                         borderTop,
                                         borderRight,
                                         borderBottom,
                                         diagonalDown,
                                         diagonalUp,
                                         locked,
                                         textIndent,
                                         wordWrap,
                                         shrinkToFit,
                                         backgroundImage,
                                         cellType,
                                         backgroundImageLayout,
                                         tabStop,
                                         textDecoration,
                                         imeMode,
                                         name,
                                         parentName,
                                         watermark,
                                         cellPadding,
                                         labelOptions);
function Style;
Inheritance Hierarchy

Object
   GC.Spread.Sheets.Style

Constructors
 NameDescription
public ConstructorRepresents the style for a cell, row, and column.  
Top
Fields
 NameDescription
public FieldIndicates the background color.  
public FieldIndicates the background image.  
public FieldIndicates the background image layout.  
public FieldIndicates the bottom border line.  
public FieldIndicates the left border line.  
public FieldIndicates the right border line.  
public FieldIndicates the top border line.  
public FieldIndicates the cell padding.  
public FieldIndicates the cell type.  
public FieldIndicates the diagonalDown border line.  
public FieldIndicates the diagonalUp border line.  
public FieldIndicates the font.  
public FieldIndicates the foreground color.  
public FieldIndicates the formatter.  
public FieldIndicates the horizontal alignment.  
public FieldIndicates the Input Method Editor (IME) mode.  
public FieldIndicates whether to set the text vertical.  
public FieldIndicates the cell label options.  
public FieldIndicates whether a cell is marked as locked from editing.  
public FieldIndicates the name.  
public FieldIndicates the name of the parent style.  
public FieldIndicates whether to shrink to fit.  
public FieldIndicates whether the user can set focus to the cell using the Tab key.  
public FieldIndicates the decoration added to text.  
public FieldIndicates the number of units of indentation for text in a cell, an integer value, where an increment of 1 represents 8 pixels.  
public FieldIndicates the font theme.  
public FieldIndicates the vertical alignment.  
public FieldIndicates the watermark content.  
public FieldIndicates whether to wrap text.  
Top
Methods
 NameDescription
public MethodClones the current style.  
Top
See Also

Reference

GC.Spread.Sheets Namespace