Dela via


Workbook.Theme Property

Gets the theme that is applied to the workbook.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
ReadOnly Property Theme As OfficeTheme
    Get
OfficeTheme Theme { get; }

Property Value

Type: Microsoft.Office.Core.OfficeTheme
A Microsoft.Office.Core.OfficeTheme that represents the theme that is applied to the workbook.

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace