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( backColor : string, foreColor : string, hAlign : HorizontalAlign, vAlign : VerticalAlign, font : string, themeFont : string, formatter : undefined, borderLeft : LineBorder, borderTop : LineBorder, borderRight : LineBorder, borderBottom : LineBorder, diagonalDown : LineBorder, diagonalUp : LineBorder, locked : boolean, textIndent : number, wordWrap : boolean, shrinkToFit : boolean, backgroundImage : string, cellType : Base, backgroundImageLayout : ImageLayout, tabStop : boolean, textDecoration : TextDecorationType, imeMode : ImeMode, name : string, parentName : string, watermark : string, cellPadding : string, labelOptions : Object ) : Style;
Parameters
- backColor
- The background color.
- foreColor
- The foreground color.
- hAlign
- The horizontal alignment.
- vAlign
- The vertical alignment.
- font
- The font.
- themeFont
- The font theme.
- formatter
- The formatting object.
- borderLeft
- The left border.
- borderTop
- The top border.
- borderRight
- The right border.
- borderBottom
- The bottom border.
- diagonalDown
- The diagonal with LeftTop to bottomRight.
- diagonalUp
- The diagonal with topRight to bottomLeft.
- locked
- Whether the cell, row, or column is locked.
- textIndent
- The text indent amount.
- wordWrap
- Whether words wrap within the cell or cells.
- shrinkToFit
- Whether content shrinks to fit the cell or cells.
- backgroundImage
- The background image to display.
- cellType
- The cell type.
- backgroundImageLayout
- The layout for the background image.
- tabStop
- Whether the user can set focus to the cell using the Tab key.
- textDecoration
- Specifies the decoration added to text.
- imeMode
- Specifies the input method editor mode.
- name
- Specifies the name.
- parentName
- Specifies the name of the parent style.
- watermark
- Specifies the watermark content.
- cellPadding
- Specifies the cell padding.
- labelOptions
- Specifies the cell label options.