Skip to main content
A newer version of this page is available. .

IXlDocument.Theme Property

Gets or sets the theme to be applied to the workbook.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

XlDocumentTheme Theme { get; set; }

Property Value

Type Description
XlDocumentTheme

An XlDocumentTheme enumeration member specifying the document theme.

Available values:

Name Description
None

Theme settings are not written to a workbook.

Office2010

Specifies the Office 2007 - 2010 document theme.

Office2013

Specifies the Office 2013 document theme.

Remarks

A document theme is a set of fonts (XlFont.BodyFont and XlFont.HeadingsFont), colors (XlThemeColor), and graphic effects you can use to change the entire look of a document. The XlDocumentTheme enumeration lists the available document themes. By default, the Office 2013 theme is used.

See Also