Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / IStyleCollection Interface / Add Method / Add(String,IStyle) Method
The new IStyle name.
A IStyle object that refers to be used as the basis for 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 are available for the current IWorkbook.
    Syntax
    IStyle Add( 
       System.string name,
       IStyle baseOn
    )

    Parameters

    name
    The new IStyle name.
    baseOn
    A IStyle object that refers to be used as the basis for the new style.

    Return Value

    The new IStyle.
    See Also