Table of contents
TOC
折叠目录
展开目录

CommandButton.ThemeFontIndex 属性 (访问)CommandButton.ThemeFontIndex Property (Access)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

获取或设置表示指定对象的字体名称属性与关联应用主题中的字体的字体索引。读/写Gets or sets the font index that represents a font in the applied theme associated with the FontName property of the specified object. Read/write Long.

语法Syntax

表达式ThemeFontIndexexpression. ThemeFontIndex

表达式_一个表示命令按钮对象的变量。_expression A variable that represents a CommandButton object.

注解Remarks

ThemeFontIndex属性使用下表中列出的值之一。The ThemeFontIndex property uses one of the values listed in the following table.

Value说明Description
00标题字体Header font
1(默认值)1 (Default)详细信息字体Detail font

如果应用了无主题,则ThemeFontIndex属性包含-1。If no theme is applied, the ThemeFontIndex property contains -1.

此属性未出现在属性表中。This property is not surfaced in the property sheet.

另请参阅See also

概念Concepts

命令按钮对象CommandButton Object

© 2018 Microsoft