Web.ApplyTheme Method
SharePoint Designer Developer Reference |
|
Applies the theme properties for a specified theme to a Web site.
Syntax
expression.ApplyTheme(ThemeName, ThemeProperties)
expression A variable that represents a Web object.
Parameters
ThemeName |
Required |
String |
A string that contains the name of the theme that you want to apply to a file. |
ThemeProperties |
Optional |
ThemeProperties |
. The properties associated with the theme. |
Remarks
The ThemeName parameter can be one of the following String values:
See Also