Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / IStyleCollection Interface / add Method / add(String,IStyle) Method
The new IStyle name.
An IRange object that refers to be used as the basisfor the new style.
In This Topic
    add(String,IStyle) Method
    In This Topic
    Creates a new IStyle and adds it to the list of styles that areavailable for the current IWorkbook.
    Syntax
    IStyle add( 
       java.lang.String name,
       IStyle baseOn
    )

    Parameters

    name
    The new IStyle name.
    baseOn
    An IRange object that refers to be used as the basisfor the new style.

    Return Value

    The new IStyle.
    See Also