Share via


EmailOptions.ThemeName Property

Returns or sets the name of the theme plus any theme formatting options to use for new e-mail messages.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property ThemeName As String
    Get
    Set
'Usage
Dim instance As EmailOptions
Dim value As String

value = instance.ThemeName

instance.ThemeName = value
string ThemeName { get; set; }

Property Value

Type: System.String

Remarks

For an explanation of the value returned by this property, see the Name argument of the ApplyTheme 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 and SetDefaultTheme methods to return and set the default theme for new e-mail messages.

See Also

Reference

EmailOptions Interface

EmailOptions Members

Microsoft.Office.Interop.Word Namespace