[]
        
Creates a new theme based on the given theme;
if the given theme is null (Nothing in Visual Basic), then the theme is based on the office theme.
public ITheme Add(string themeName, ITheme baseTheme = null)
Public Function Add(themeName As String, Optional baseTheme As ITheme = Nothing) As ITheme
| Type | Name | Description | 
|---|---|---|
| string | themeName | The new theme name.  | 
    
| ITheme | baseTheme | The theme name the theme is based on.  | 
    
| Type | Description | 
|---|---|
| ITheme | Returns the new ITheme.  | 
    
This method is now obsolete. Theme constructor is now recommended.