Word.Interfaces.BorderUpdateData interface
An interface for updating data on the Border
object, for use in border.set({ ... })
.
Properties
color | Specifies the color for the border. Color is specified in ‘#RRGGBB’ format or by using the color name. |
type | Specifies the border type for the border. |
visible | Specifies whether the border is visible. |
width | Specifies the width for the border. |
Property Details
color
Specifies the color for the border. Color is specified in ‘#RRGGBB’ format or by using the color name.
color?: string;
Property Value
string
Remarks
type
Specifies the border type for the border.
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";
Property Value
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"
Remarks
visible
Specifies whether the border is visible.
visible?: boolean;
Property Value
boolean
Remarks
width
Specifies the width for the border.
width?: Word.BorderWidth | "None" | "Pt025" | "Pt050" | "Pt075" | "Pt100" | "Pt150" | "Pt225" | "Pt300" | "Pt450" | "Pt600" | "Mixed";
Property Value
Word.BorderWidth | "None" | "Pt025" | "Pt050" | "Pt075" | "Pt100" | "Pt150" | "Pt225" | "Pt300" | "Pt450" | "Pt600" | "Mixed"
Remarks
Office Add-ins