_Document.ActiveTheme 属性

定义

返回活动主题名称以及主题格式选项为指定的文档。Returns the name of the active theme plus the theme formatting options for the specified document.

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

属性值

String

注解

如果文档没有活动的主题,则此属性返回 "none"。This property returns "none" if the document doesn't have an active theme.

有关此属性返回的值的说明,请参阅方法的Name参数 ApplyTheme(String)For an explanation of the value returned by this property, see the Name argument of the ApplyTheme(String) method. 由此属性返回的值可能与主题的显示名称不对应。The value returned by this property may not correspond to the theme's display name. 若要返回主题的显示名称,请使用 ActiveThemeDisplayName 属性。To return a theme's display name, use the ActiveThemeDisplayName property.

适用于