语法
表达式.AllowAutoFit
表达式 一个代表 Table 对象的变量。
示例
本示例设置活动文档的第一张表格可自动调整大小以适应内容。
function AllowFit(){ ActiveDocument.Tables.Item(1).AllowAutoFit = true }