Word.Interfaces.LineFormatLoadOptions interface
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Represents line and arrowhead formatting. For a line, the LineFormat
object contains formatting information for the line itself; for a shape with a border, this object contains formatting information for the shape's border.
Remarks
Properties
$all | Specifying |
background |
Gets a |
begin |
Specifies the length of the arrowhead at the beginning of the line. |
begin |
Specifies the style of the arrowhead at the beginning of the line. |
begin |
Specifies the width of the arrowhead at the beginning of the line. |
dash |
Specifies the dash style for the line. |
end |
Specifies the length of the arrowhead at the end of the line. |
end |
Specifies the style of the arrowhead at the end of the line. |
end |
Specifies the width of the arrowhead at the end of the line. |
foreground |
Gets a |
inset |
Specifies if to draw lines inside a shape. |
is |
Specifies if the object, or the formatting applied to it, is visible. |
pattern | Specifies the pattern applied to the line. |
style | Specifies the line format style. |
transparency | Specifies the degree of transparency of the line as a value between 0.0 (opaque) and 1.0 (clear). |
weight | Specifies the thickness of the line in points. |
Property Details
$all
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
backgroundColor
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets a ColorFormat
object that represents the background color for a patterned line.
backgroundColor?: Word.Interfaces.ColorFormatLoadOptions;
Property Value
Remarks
beginArrowheadLength
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the length of the arrowhead at the beginning of the line.
beginArrowheadLength?: boolean;
Property Value
boolean
Remarks
beginArrowheadStyle
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the style of the arrowhead at the beginning of the line.
beginArrowheadStyle?: boolean;
Property Value
boolean
Remarks
beginArrowheadWidth
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the width of the arrowhead at the beginning of the line.
beginArrowheadWidth?: boolean;
Property Value
boolean
Remarks
dashStyle
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the dash style for the line.
dashStyle?: boolean;
Property Value
boolean
Remarks
endArrowheadLength
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the length of the arrowhead at the end of the line.
endArrowheadLength?: boolean;
Property Value
boolean
Remarks
endArrowheadStyle
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the style of the arrowhead at the end of the line.
endArrowheadStyle?: boolean;
Property Value
boolean
Remarks
endArrowheadWidth
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the width of the arrowhead at the end of the line.
endArrowheadWidth?: boolean;
Property Value
boolean
Remarks
foregroundColor
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Gets a ColorFormat
object that represents the foreground color for the line.
foregroundColor?: Word.Interfaces.ColorFormatLoadOptions;
Property Value
Remarks
insetPen
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies if to draw lines inside a shape.
insetPen?: boolean;
Property Value
boolean
Remarks
isVisible
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies if the object, or the formatting applied to it, is visible.
isVisible?: boolean;
Property Value
boolean
Remarks
pattern
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the pattern applied to the line.
pattern?: boolean;
Property Value
boolean
Remarks
style
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the line format style.
style?: boolean;
Property Value
boolean
Remarks
transparency
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the degree of transparency of the line as a value between 0.0 (opaque) and 1.0 (clear).
transparency?: boolean;
Property Value
boolean
Remarks
weight
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies the thickness of the line in points.
weight?: boolean;
Property Value
boolean