Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / Themes Class / Add Method
The new theme name.
The theme name the theme is based on.
In This Topic
    Add Method (Themes)
    In This Topic
    Creates a new theme based on the given theme; if the given theme is a null reference (Nothing in Visual Basic) (Nothing in Visual Basic), then the theme is based on the office theme.
    Syntax
    public ITheme Add( 
       System.string themeName,
       ITheme baseTheme
    )

    Parameters

    themeName
    The new theme name.
    baseTheme
    The theme name the theme is based on.

    Return Value

    Returns the new ITheme.
    Remarks
    This method is now obsolete. Theme constructor is now recommended.
    See Also