SpreadJS Documentation
GC.Spread.Sheets Namespace / LineBorder type / style Field
In This Topic
    style Field
    In This Topic
    Indicates the line style of the border line. The default value is empty.
    Syntax
    var instance = new GC.Spread.Sheets.LineBorder(color, style);
    var value; // Type: style
    value = instance.style;
    var style : style;
    Example
    This example sets the style property.
    var border = new GC.Spread.Sheets.LineBorder
    border.color = "#7FFFD4";
    border.style = GC.Spread.Sheets.LineStyle.double;
    var cell = activeSheet.getCell(1, 1, GC.Spread.Sheets.SheetArea.viewport);
    cell.borderLeft(border);
    See Also

    Reference

    LineBorder type