共用方式為


Document.ActiveTheme Property

Definition

Gets the name of the active theme plus the theme formatting options for the document.

public:
 property System::String ^ ActiveTheme { System::String ^ get(); };
public string ActiveTheme { get; }
member this.ActiveTheme : string
Public ReadOnly Property ActiveTheme As String

Property Value

The name of the active theme plus the theme formatting options for the document.

Remarks

This property returns "none" if the document does not have an active theme.

For an explanation of the value returned by this property, see the Name argument of the ApplyTheme method. The value returned by this property might not correspond to the theme's display name. To return a theme's display name, use the ActiveThemeDisplayName property.

Applies to