Word.Interfaces.TableBorderUpdateData interface

用于更新对象上的 TableBorder 数据的接口,用于 在 中使用 tableBorder.set({ ... })

属性

color

指定表格边框颜色。

type

指定表格边框的类型。

width

指定表格边框的宽度(以磅为单位)。 不适用于宽度固定的表边框类型。

属性详细信息

color

指定表格边框颜色。

color?: string;

属性值

string

注解

[ API 集:WordApi 1.3 ]

type

指定表格边框的类型。

type?: Word.BorderType | "Mixed" | "None" | "Single" | "Double" | "Dotted" | "Dashed" | "DotDashed" | "Dot2Dashed" | "Triple" | "ThinThickSmall" | "ThickThinSmall" | "ThinThickThinSmall" | "ThinThickMed" | "ThickThinMed" | "ThinThickThinMed" | "ThinThickLarge" | "ThickThinLarge" | "ThinThickThinLarge" | "Wave" | "DoubleWave" | "DashedSmall" | "DashDotStroked" | "ThreeDEmboss" | "ThreeDEngrave";

属性值

Word.BorderType | "Mixed" | "None" | "Single" | "Double" | "Dotted" | "Dashed" | "DotDashed" | "Dot2Dashed" | "Triple" | "ThinThickSmall" | "ThickThinSmall" | "ThinThickThinSmall" | "ThinThickMed" | "ThickThinMed" | "ThinThickThinMed" | "ThinThickLarge" | "ThickThinLarge" | "ThinThickThinLarge" | "Wave" | "DoubleWave" | "DashedSmall" | "DashDotStroked" | "ThreeDEmboss" | "ThreeDEngrave"

注解

[ API 集:WordApi 1.3 ]

width

指定表格边框的宽度(以磅为单位)。 不适用于宽度固定的表边框类型。

width?: number;

属性值

number

注解

[ API 集:WordApi 1.3 ]