@jsfkit/types
    Preparing search index...

    Type Alias Style

    Style rules that specify the visual presentation of a cell.

    type Style = {
        bold?: boolean;
        borderBottomColor?: Color;
        borderBottomStyle?: BorderStyle;
        borderLeftColor?: Color;
        borderLeftStyle?: BorderStyle;
        borderRightColor?: Color;
        borderRightStyle?: BorderStyle;
        borderTopColor?: Color;
        borderTopStyle?: BorderStyle;
        color?: Color;
        fillColor?: Color;
        fontFamily?: string;
        fontSize?: PixelValue;
        horizontalAlignment?: HAlign;
        italic?: boolean;
        numberFormat?: string;
        patternColor?: Color;
        patternStyle?: PatternStyle;
        shrinkToFit?: boolean;
        textRotation?: boolean;
        underline?: Underline;
        verticalAlignment?: VAlign;
        wrapText?: boolean;
    }
    Index

    Properties

    bold?: boolean

    Indicates whether the text is bold.

    false
    
    borderBottomColor?: Color

    Bottom border color.

    borderBottomStyle?: BorderStyle

    Bottom border style.

    "none"
    
    borderLeftColor?: Color

    Left border color.

    borderLeftStyle?: BorderStyle

    Left border style.

    "none"
    
    borderRightColor?: Color

    Right border color.

    borderRightStyle?: BorderStyle

    Right border style.

    "none"
    
    borderTopColor?: Color

    Top border color.

    borderTopStyle?: BorderStyle

    Top border style.

    "none"
    
    color?: Color

    The color used to render text.

    "#000"
    
    fillColor?: Color

    The cell's background color.

    "#FFFFFF"
    
    fontFamily?: string

    The name of the font family used to render text, e.g. "Arial".

    "Calibri"
    
    fontSize?: PixelValue

    The font size in pixels.

    11
    
    horizontalAlignment?: HAlign

    Horizontal alignment of the cells [text] content.

    "general"
    
    italic?: boolean

    Indicates whether the text is italic.

    false
    
    numberFormat?: string

    Formatting directions for rendering the cell's value to text.

    patternColor?: Color

    The color of a cell's background fill.

    "#000000"
    
    patternStyle?: PatternStyle

    The style of a cell's background fill.

    "none"
    
    shrinkToFit?: boolean

    Indicates whether the font-size should be automatically reduced in order to make the contents of the cell visible.

    textRotation?: boolean

    The degrees to which the cell text should be rotated. Values range from 0 to 180, and 255 to indicate vertical text. The origin of the rotation is the first letter of the text.

    underline?: Underline

    Text underline decoration type.

    "none"
    
    verticalAlignment?: VAlign

    Vertical alignment of the cells [text] content.

    "bottom"
    
    wrapText?: boolean

    Indicates whether text should be wrapped when it exceeds the cell's width.

    false