Word Borders 对象

属性/方法 意义
Item(index) 取边框 Border 对象,可用下标:
wdBorderTop、
wdBorderBottom、
wdBorderLeft、
wdBorderRight、
wdBorderHorizontal、
wdBorderVertical、
wdBorderDiagonalDown、
wdBorderDiagonalUp
HasVertical 是否含内部竖线,只读(是否超过一列)
HasHorizontal 是否含内部横线,只读(是否超过一行)
InsideColor 内部边框线的颜色
InsideColorIndex 内部边框线的颜色号
InsideLineStyle 内部边框线的线型
InsideLineWidth 内部边框线的宽度
OutsideColor 四周边框线的颜色
OutsideColorIndex 四周边框线的颜色号
OutsideLineStyle 四周边框线的线型
OutsideLineWidth 四周边框线的宽度

Border 对象

属性/方法 意义
ArtStyle 艺术边框类型
ArtWidth 艺术边框宽度
Color 边框颜色
ColorIndex 边框颜色号
Inside 是否使用内部边框,只读
LineStyle 边框线型
LineWidth 边框边宽
Visible 是否可见

Font 字体

属性/方法 意义
AllCaps 大写True、小写False
Animation 动态效果类型
Bold 粗体
Color 颜色
ColorIndex 颜色号
Hidden 隐藏
Italic 斜体
Outline 空心字
Position 文字抬高或下沉
Scaling 宽度比例,1-600
Shadow 是否有阴影
Size 字号
SmallCaps 小型大写字母
Spacing 字间距
Subscript 下标
Superscript 上标
Underline 下划线类型
UnderlineColor 下划线颜色
Grow() 增大字号
Shrink() 缩小字号
Reset() 回到样式定义