TextMarkerStyle 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
描述列表项的项目符号样式的外观。
public enum class TextMarkerStyle
public enum TextMarkerStyle
type TextMarkerStyle =
Public Enum TextMarkerStyle
- 继承
字段
| 名称 | 值 | 说明 |
|---|---|---|
| None | 0 | 无标记。 |
| Disc | 1 | 实心圆圈。 |
| Circle | 2 | 空心圆圈。 |
| Square | 3 | 空心正方形形状。 |
| Box | 4 | 实心方框。 |
| LowerRoman | 5 | 以数字 i 开头的小写罗马数字。 例如,i、ii、iii 和 iv。 对于添加到列表中的每个项,数字会自动递增。 |
| UpperRoman | 6 | 以数字 I 开头的大写罗马数字。例如,I、II、III 和 IV。 对于添加到列表中的每个项,数值会自动递增。 |
| LowerLatin | 7 | 以字母 a 开头的小写 ASCII 字符。 例如,a、b 和 c。 为添加到列表中的每个项自动递增字符值。 |
| UpperLatin | 8 | 以字母 A 开头的大写 ASCII 字符。例如 A、B 和 C。为添加到列表中的每个项自动递增字符值。 |
| Decimal | 9 | 以数字 1 开头的十进制值。 例如 1、2 和 3。 对于添加到列表中的每个项,小数值会自动递增。 |
示例
下面的示例演示如何创建一个 TextMarkerStyle:
List list = new List();
list.MarkerStyle = TextMarkerStyle.Box;
Dim list As New List()
list.MarkerStyle = TextMarkerStyle.Box
<List MarkerStyle="Box">
<ListItem>
<Paragraph>Box</Paragraph>
</ListItem>
</List>
注解
MarkerStyle一个List属性可用于定义列表中每个项的项目符号样式。 项目符号样式可以是图形元素或 alpha 数字值。