语法
表达式.StyleAreaWidth
表达式 返回 Window 对象的表达式。
说明
如果 StyleAreaWidth 属性值大于 0(零),则样式名显示在文本的左侧。在页面视图或 Web 版式视图中不显示样式区。
示例
本示例将活动窗口切换至普通视图,并设置样式区宽度为 1 英寸。
ActiveDocument.ActiveWindow.View.Type = wdNormalView ActiveDocument.ActiveWindow.StyleAreaWidth = InchesToPoints(1)