Line

Line class

Encapsulates the object that represents the line format.

Properties

NameTypeDescription
CompoundTypeintSpecifies the compound line type The value of the property is MsoLineStyle integer constant.
DashTypeintSpecifies the dash line type The value of the property is MsoLineDashStyle integer constant.
CapTypeintSpecifies the ending caps. The value of the property is LineCapType integer constant.
JoinTypeintSpecifies the joining caps. The value of the property is LineJoinType integer constant.
BeginTypeintSpecifies an arrowhead for the begin of a line. The value of the property is MsoArrowheadStyle integer constant.
EndTypeintSpecifies an arrowhead for the end of a line. The value of the property is MsoArrowheadStyle integer constant.
BeginArrowLengthintSpecifies the length of the arrowhead for the begin of a line. The value of the property is MsoArrowheadLength integer c
EndArrowLengthintSpecifies the length of the arrowhead for the end of a line. The value of the property is MsoArrowheadLength integer con
BeginArrowWidthintSpecifies the width of the arrowhead for the begin of a line. The value of the property is MsoArrowheadWidth integer con
EndArrowWidthintSpecifies 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.
TransparencyfloatReturns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear).
StyleintRepresents the style of the line. The value of the property is LineType integer constant.
WeightintGets or sets the WeightType of the line. The value of the property is WeightType integer constant.
WeightPtfloatGets or sets the weight of the line in unit of points.
WeightPxfloatGets or sets the weight of the line in unit of pixels.
FormattingTypeintGets 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: int

Line.DashType property

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

Type: int

Line.CapType property

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

Type: int

Line.JoinType property

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

Type: int

Line.BeginType property

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

Type: int

Line.EndType property

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

Type: int

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: int

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: int

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: int

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: int

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: float

Line.Style property

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

Type: int

Line.Weight property

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

Type: int

Line.WeightPt property

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

Type: float

Line.WeightPx property

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

Type: float

Line.FormattingType property

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

Type: int

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