WrapAroundText 属性

       

该属性返回或设置文本是否环绕指定行。如果设置仅环绕部分指定行,则返回 wdUndefined。该属性值可设为 TrueFalseLong 类型,可读写。

expression.WrapAroundText

expression   必需。该表达式返回一个 Rows 对象。

说明

如果将 WrapAroundText 属性设为 False,则 AllowOverlap 属性值会自动设为 False。如果将 AllowOverlap 属性设为 True,则 WrapAroundText 属性值会自动设为 True

示例

本示例设置 Microsoft Word,使文本环绕在文档中第一张表格的周围。

ActiveDocument.Tables(1).Rows.WrapAroundText = True