_Document.ActiveThemeDisplayName 属性

定义

返回指定文档的活动主题显示名称。Returns the display name of the active theme for the specified document.

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

属性值

String

注解

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

主题的显示名称是将显示在 主题对话框中的名称。A theme's display name is the name that appears in the Theme dialog box. 此名称可能与用来设置默认主题或为文档应用主题的字符串不对应。This name may not correspond to the string you would use to set a default theme or to apply a theme to a document.

适用于