Line

Line class

Encapsulates the object that represents the line format.

Properties

NameTypeDescription
CompoundTypeNumberSpecifies the compound line type The value of the property is MsoLineStyle integer constant.
DashTypeNumberSpecifies the dash line type The value of the property is MsoLineDashStyle integer constant.
CapTypeNumberSpecifies the ending caps. The value of the property is LineCapType integer constant.
JoinTypeNumberSpecifies the joining caps. The value of the property is LineJoinType integer constant.
BeginTypeNumberSpecifies an arrowhead for the begin of a line. The value of the property is MsoArrowheadStyle integer constant.
EndTypeNumberSpecifies an arrowhead for the end of a line. The value of the property is MsoArrowheadStyle integer constant.
BeginArrowLengthNumberSpecifies the length of the arrowhead for the begin of a line. The value of the property is MsoArrowheadLength integer c
EndArrowLengthNumberSpecifies the length of the arrowhead for the end of a line. The value of the property is MsoArrowheadLength integer con
BeginArrowWidthNumberSpecifies the width of the arrowhead for the begin of a line. The value of the property is MsoArrowheadWidth integer con
EndArrowWidthNumberSpecifies the width of the arrowhead for the end of a line. The value of the property is MsoArrowheadWidth integer const
ThemeColorThemeColorGets and sets the theme color. If the foreground color is not a theme color, NULL will be returned.
ColorColorRepresents the com.aspose.cells.Color of the line.
TransparencyNumberReturns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear).
StyleNumberRepresents the style of the line. The value of the property is LineType integer constant.
WeightNumberGets or sets the WeightType of the line. The value of the property is WeightType integer constant.
WeightPtNumberGets or sets the weight of the line in unit of points.
WeightPxNumberGets or sets the weight of the line in unit of pixels.
FormattingTypeNumberGets or sets format type. The value of the property is ChartLineFormattingType integer constant.
IsAutomaticColorbooleanIndicates whether the color of line is automatic assigned.
IsVisiblebooleanRepresents whether the line is visible.
IsAutobooleanIndicates whether this line style is auto assigned.
GradientFillGradientFillRepresents gradient fill.

Line.CompoundType property

Specifies the compound line type The value of the property is MsoLineStyle integer constant.

Type: Number

Line.DashType property

Specifies the dash line type The value of the property is MsoLineDashStyle integer constant.

Type: Number

Line.CapType property

Specifies the ending caps. The value of the property is LineCapType integer constant.

Type: Number

Line.JoinType property

Specifies the joining caps. The value of the property is LineJoinType integer constant.

Type: Number

Line.BeginType property

Specifies an arrowhead for the begin of a line. The value of the property is MsoArrowheadStyle integer constant.

Type: Number

Line.EndType property

Specifies an arrowhead for the end of a line. The value of the property is MsoArrowheadStyle integer constant.

Type: Number

Line.BeginArrowLength property

Specifies the length of the arrowhead for the begin of a line. The value of the property is MsoArrowheadLength integer constant.

Type: Number

Line.EndArrowLength property

Specifies the length of the arrowhead for the end of a line. The value of the property is MsoArrowheadLength integer constant.

Type: Number

Line.BeginArrowWidth property

Specifies the width of the arrowhead for the begin of a line. The value of the property is MsoArrowheadWidth integer constant.

Type: Number

Line.EndArrowWidth property

Specifies the width of the arrowhead for the end of a line. The value of the property is MsoArrowheadWidth integer constant.

Type: Number

Line.ThemeColor property

Gets and sets the theme color. If the foreground color is not a theme color, NULL will be returned.

Type: ThemeColor

Line.Color property

Represents the com.aspose.cells.Color of the line.

Type: Color

Line.Transparency property

Returns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear).

Type: Number

Line.Style property

Represents the style of the line. The value of the property is LineType integer constant.

Type: Number

Line.Weight property

Gets or sets the WeightType of the line. The value of the property is WeightType integer constant.

Type: Number

Line.WeightPt property

Gets or sets the weight of the line in unit of points.

Type: Number

Line.WeightPx property

Gets or sets the weight of the line in unit of pixels.

Type: Number

Line.FormattingType property

Gets or sets format type. The value of the property is ChartLineFormattingType integer constant.

Type: Number

Line.IsAutomaticColor property

Indicates whether the color of line is automatic assigned.

Type: boolean

Line.IsVisible property

Represents whether the line is visible.

Type: boolean

Line.IsAuto property

Indicates whether this line style is auto assigned.

Type: boolean

Line.GradientFill property

Represents gradient fill.

Type: GradientFill