Excel.Interfaces.LineData interface
An interface describing the data returned by calling line.toJSON()
.
Properties
begin |
Represents the length of the arrowhead at the beginning of the specified line. |
begin |
Represents the style of the arrowhead at the beginning of the specified line. |
begin |
Represents the width of the arrowhead at the beginning of the specified line. |
begin |
Represents the connection site to which the beginning of a connector is connected. Returns |
connector |
Represents the connector type for the line. |
end |
Represents the length of the arrowhead at the end of the specified line. |
end |
Represents the style of the arrowhead at the end of the specified line. |
end |
Represents the width of the arrowhead at the end of the specified line. |
end |
Represents the connection site to which the end of a connector is connected. Returns |
id | Specifies the shape identifier. |
is |
Specifies if the beginning of the specified line is connected to a shape. |
is |
Specifies if the end of the specified line is connected to a shape. |
Property Details
beginArrowheadLength
Represents the length of the arrowhead at the beginning of the specified line.
beginArrowheadLength?: Excel.ArrowheadLength | "Short" | "Medium" | "Long";
Property Value
Excel.ArrowheadLength | "Short" | "Medium" | "Long"
Remarks
beginArrowheadStyle
Represents the style of the arrowhead at the beginning of the specified line.
beginArrowheadStyle?: Excel.ArrowheadStyle | "None" | "Triangle" | "Stealth" | "Diamond" | "Oval" | "Open";
Property Value
Excel.ArrowheadStyle | "None" | "Triangle" | "Stealth" | "Diamond" | "Oval" | "Open"
Remarks
beginArrowheadWidth
Represents the width of the arrowhead at the beginning of the specified line.
beginArrowheadWidth?: Excel.ArrowheadWidth | "Narrow" | "Medium" | "Wide";
Property Value
Excel.ArrowheadWidth | "Narrow" | "Medium" | "Wide"
Remarks
beginConnectedSite
Represents the connection site to which the beginning of a connector is connected. Returns null
when the beginning of the line is not attached to any shape.
beginConnectedSite?: number;
Property Value
number
Remarks
connectorType
Represents the connector type for the line.
connectorType?: Excel.ConnectorType | "Straight" | "Elbow" | "Curve";
Property Value
Excel.ConnectorType | "Straight" | "Elbow" | "Curve"
Remarks
endArrowheadLength
Represents the length of the arrowhead at the end of the specified line.
endArrowheadLength?: Excel.ArrowheadLength | "Short" | "Medium" | "Long";
Property Value
Excel.ArrowheadLength | "Short" | "Medium" | "Long"
Remarks
endArrowheadStyle
Represents the style of the arrowhead at the end of the specified line.
endArrowheadStyle?: Excel.ArrowheadStyle | "None" | "Triangle" | "Stealth" | "Diamond" | "Oval" | "Open";
Property Value
Excel.ArrowheadStyle | "None" | "Triangle" | "Stealth" | "Diamond" | "Oval" | "Open"
Remarks
endArrowheadWidth
Represents the width of the arrowhead at the end of the specified line.
endArrowheadWidth?: Excel.ArrowheadWidth | "Narrow" | "Medium" | "Wide";
Property Value
Excel.ArrowheadWidth | "Narrow" | "Medium" | "Wide"
Remarks
endConnectedSite
Represents the connection site to which the end of a connector is connected. Returns null
when the end of the line is not attached to any shape.
endConnectedSite?: number;
Property Value
number
Remarks
id
Specifies the shape identifier.
id?: string;
Property Value
string
Remarks
isBeginConnected
Specifies if the beginning of the specified line is connected to a shape.
isBeginConnected?: boolean;
Property Value
boolean
Remarks
isEndConnected
Specifies if the end of the specified line is connected to a shape.
isEndConnected?: boolean;
Property Value
boolean
Remarks
Office Add-ins