
## Line class

Encapsulates the object that represents the line format.

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [CompoundType](#compoundtype) | Number | Specifies the compound line type The value of the property is MsoLineStyle integer constant. |
| [DashType](#dashtype) | Number | Specifies the dash line type The value of the property is MsoLineDashStyle integer constant. |
| [CapType](#captype) | Number | Specifies the ending caps. The value of the property is LineCapType integer constant. |
| [JoinType](#jointype) | Number | Specifies the joining caps. The value of the property is LineJoinType integer constant. |
| [BeginType](#begintype) | Number | Specifies an arrowhead for the begin of a line. The value of the property is MsoArrowheadStyle integer constant. |
| [EndType](#endtype) | Number | Specifies an arrowhead for the end of a line. The value of the property is MsoArrowheadStyle integer constant. |
| [BeginArrowLength](#beginarrowlength) | Number | Specifies the length of the arrowhead for the begin of a line. The value of the property is MsoArrowheadLength integer c |
| [EndArrowLength](#endarrowlength) | Number | Specifies the length of the arrowhead for the end of a line. The value of the property is MsoArrowheadLength integer con |
| [BeginArrowWidth](#beginarrowwidth) | Number | Specifies the width of the arrowhead for the begin of a line. The value of the property is MsoArrowheadWidth integer con |
| [EndArrowWidth](#endarrowwidth) | Number | Specifies the width of the arrowhead for the end of a line. The value of the property is MsoArrowheadWidth integer const |
| [ThemeColor](#themecolor) | ThemeColor | Gets and sets the theme color. If the foreground color is not a theme color, NULL will be returned. |
| [Color](#color) | Color | Represents the com.aspose.cells.Color of the line. |
| [Transparency](#transparency) | Number | Returns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear). |
| [Style](#style) | Number | Represents the style of the line. The value of the property is LineType integer constant. |
| [Weight](#weight) | Number | Gets or sets the WeightType of the line. The value of the property is WeightType integer constant. |
| [WeightPt](#weightpt) | Number | Gets or sets the weight of the line in unit of points. |
| [WeightPx](#weightpx) | Number | Gets or sets the weight of the line in unit of pixels. |
| [FormattingType](#formattingtype) | Number | Gets or sets format type. The value of the property is ChartLineFormattingType integer constant. |
| [IsAutomaticColor](#isautomaticcolor) | boolean | Indicates whether the color of line is automatic assigned. |
| [IsVisible](#isvisible) | boolean | Represents whether the line is visible. |
| [IsAuto](#isauto) | boolean | Indicates whether this line style is auto assigned. |
| [GradientFill](#gradientfill) | GradientFill | Represents gradient fill. |

### Line.CompoundType property {#compoundtype}

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

**Type:** Number

### Line.DashType property {#dashtype}

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

**Type:** Number

### Line.CapType property {#captype}

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

**Type:** Number

### Line.JoinType property {#jointype}

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

**Type:** Number

### Line.BeginType property {#begintype}

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

**Type:** Number

### Line.EndType property {#endtype}

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

**Type:** Number

### Line.BeginArrowLength property {#beginarrowlength}

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 {#endarrowlength}

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 {#beginarrowwidth}

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 {#endarrowwidth}

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 {#themecolor}

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

**Type:** ThemeColor

### Line.Color property {#color}

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

**Type:** Color

### Line.Transparency property {#transparency}

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 {#style}

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

**Type:** Number

### Line.Weight property {#weight}

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

**Type:** Number

### Line.WeightPt property {#weightpt}

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

**Type:** Number

### Line.WeightPx property {#weightpx}

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

**Type:** Number

### Line.FormattingType property {#formattingtype}

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

**Type:** Number

### Line.IsAutomaticColor property {#isautomaticcolor}

Indicates whether the color of line is automatic assigned.

**Type:** boolean

### Line.IsVisible property {#isvisible}

Represents whether the line is visible.

**Type:** boolean

### Line.IsAuto property {#isauto}

Indicates whether this line style is auto assigned.

**Type:** boolean

### Line.GradientFill property {#gradientfill}

Represents gradient fill.

**Type:** GradientFill
