Word.Interfaces.TableColumnUpdateData interface

用于更新对象上 TableColumn 的数据的接口,用于 tableColumn.set({ ... }).

注解

使用方

属性

preferredWidth

指定首选宽度 ((以磅为单位)或表示列窗口宽度) 的百分比。 度量单位可由 preferredWidthType 属性指定。

preferredWidthType

指定用于表列宽度的首选度量单位。

shading

返回引用 ShadingUniversal 列的底纹格式的对象。

width

指定列的宽度(以磅为单位)。

属性详细信息

preferredWidth

指定首选宽度 ((以磅为单位)或表示列窗口宽度) 的百分比。 度量单位可由 preferredWidthType 属性指定。

preferredWidth?: number;

属性值

number

注解

API 集:WordApiDesktop 1.3

preferredWidthType

指定用于表列宽度的首选度量单位。

preferredWidthType?: Word.PreferredWidthType | "Auto" | "Percent" | "Points";

属性值

Word.PreferredWidthType | "Auto" | "Percent" | "Points"

注解

API 集:WordApiDesktop 1.3

shading

返回引用 ShadingUniversal 列的底纹格式的对象。

shading?: Word.Interfaces.ShadingUniversalUpdateData;

属性值

注解

API 集:WordApiDesktop 1.3

width

指定列的宽度(以磅为单位)。

width?: number;

属性值

number

注解

API 集:WordApiDesktop 1.3