_Document.ApplyDocumentTheme Method

Applies a document theme to a document.

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

Syntax

'Declaration
Sub ApplyDocumentTheme ( _
    FileName As String _
)
'Usage
Dim instance As _Document
Dim FileName As String

instance.ApplyDocumentTheme(FileName)
void ApplyDocumentTheme(
    string FileName
)

Parameters

  • FileName
    Type: System.String
    The path and file name of the theme to apply.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace