EmailOptions.ThemeName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the name of the theme plus any theme formatting options to use for new e-mail messages.
public:
property System::String ^ ThemeName { System::String ^ get(); void set(System::String ^ value); };
public string ThemeName { get; set; }
member this.ThemeName : string with get, set
Public Property ThemeName As String
Property Value
Remarks
For an explanation of the value returned by this property, see the Name
argument of the ApplyTheme(String) method. The value returned by this property may not correspond to the theme's display name as it appears in the Theme dialog box. To return a theme's display name, use the ActiveThemeDisplayName property.
You can also use the GetDefaultTheme(WdDocumentMedium) and SetDefaultTheme(String, WdDocumentMedium) methods to return and set the default theme for new e-mail messages.