
## Line class

Encapsulates the object that represents the line format.

## Methods

| Name | Description |
| --- | --- |
| [getBeginArrowLength()](#getbeginarrowlength) | Specifies the length of the arrowhead for the begin of a line. The value of the property is MsoArrowheadLength integer c |
| [getBeginArrowWidth()](#getbeginarrowwidth) | Specifies the width of the arrowhead for the begin of a line. The value of the property is MsoArrowheadWidth integer con |
| [getBeginType()](#getbegintype) | Specifies an arrowhead for the begin of a line. The value of the property is MsoArrowheadStyle integer constant. |
| [getCapType()](#getcaptype) | Specifies the ending caps. The value of the property is LineCapType integer constant. |
| [getColor()](#getcolor) | Represents the com.aspose.cells.Color of the line. |
| [getCompoundType()](#getcompoundtype) | Specifies the compound line type The value of the property is MsoLineStyle integer constant. |
| [getDashType()](#getdashtype) | Specifies the dash line type The value of the property is MsoLineDashStyle integer constant. |
| [getEndArrowLength()](#getendarrowlength) | Specifies the length of the arrowhead for the end of a line. The value of the property is MsoArrowheadLength integer con |
| [getEndArrowWidth()](#getendarrowwidth) | Specifies the width of the arrowhead for the end of a line. The value of the property is MsoArrowheadWidth integer const |
| [getEndType()](#getendtype) | Specifies an arrowhead for the end of a line. The value of the property is MsoArrowheadStyle integer constant. |
| [getFormattingType()](#getformattingtype) | Gets or sets format type. The value of the property is ChartLineFormattingType integer constant. |
| [getGradientFill()](#getgradientfill) | Represents gradient fill. |
| [getJoinType()](#getjointype) | Specifies the joining caps. The value of the property is LineJoinType integer constant. |
| [getStyle()](#getstyle) | Represents the style of the line. The value of the property is LineType integer constant. |
| [getThemeColor()](#getthemecolor) | Gets and sets the theme color. If the foreground color is not a theme color, NULL will be returned. |
| [getTransparency()](#gettransparency) | Returns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear). |
| [getWeight()](#getweight) | Gets or sets the WeightType of the line. The value of the property is WeightType integer constant. |
| [getWeightPt()](#getweightpt) | Gets or sets the weight of the line in unit of points. |
| [getWeightPx()](#getweightpx) | Gets or sets the weight of the line in unit of pixels. |
| [isAuto()](#isauto) | Indicates whether this line style is auto assigned. |
| [isAutomaticColor()](#isautomaticcolor) | Indicates whether the color of line is automatic assigned. |
| [isVisible()](#isvisible) | Represents whether the line is visible. |
| [setAuto()](#setauto) | Indicates whether this line style is auto assigned. |
| [setBeginArrowLength()](#setbeginarrowlength) | Specifies the length of the arrowhead for the begin of a line. The value of the property is MsoArrowheadLength integer c |
| [setBeginArrowWidth()](#setbeginarrowwidth) | Specifies the width of the arrowhead for the begin of a line. The value of the property is MsoArrowheadWidth integer con |
| [setBeginType()](#setbegintype) | Specifies an arrowhead for the begin of a line. The value of the property is MsoArrowheadStyle integer constant. |
| [setCapType()](#setcaptype) | Specifies the ending caps. The value of the property is LineCapType integer constant. |
| [setColor()](#setcolor) | Represents the com.aspose.cells.Color of the line. |
| [setCompoundType()](#setcompoundtype) | Specifies the compound line type The value of the property is MsoLineStyle integer constant. |
| [setDashType()](#setdashtype) | Specifies the dash line type The value of the property is MsoLineDashStyle integer constant. |
| [setEndArrowLength()](#setendarrowlength) | Specifies the length of the arrowhead for the end of a line. The value of the property is MsoArrowheadLength integer con |
| [setEndArrowWidth()](#setendarrowwidth) | Specifies the width of the arrowhead for the end of a line. The value of the property is MsoArrowheadWidth integer const |
| [setEndType()](#setendtype) | Specifies an arrowhead for the end of a line. The value of the property is MsoArrowheadStyle integer constant. |
| [setFormattingType()](#setformattingtype) | Gets or sets format type. The value of the property is ChartLineFormattingType integer constant. |
| [setJoinType()](#setjointype) | Specifies the joining caps. The value of the property is LineJoinType integer constant. |
| [setStyle()](#setstyle) | Represents the style of the line. The value of the property is LineType integer constant. |
| [setThemeColor()](#setthemecolor) | Gets and sets the theme color. If the foreground color is not a theme color, NULL will be returned. |
| [setTransparency()](#settransparency) | Returns or sets the degree of transparency of the line as a value from 0.0 (opaque) through 1.0 (clear). |
| [setVisible()](#setvisible) | Represents whether the line is visible. |
| [setWeight()](#setweight) | Gets or sets the WeightType of the line. The value of the property is WeightType integer constant. |
| [setWeightPt()](#setweightpt) | Gets or sets the weight of the line in unit of points. |
| [setWeightPx()](#setweightpx) | Gets or sets the weight of the line in unit of pixels. |

### getBeginArrowLength() {#getbeginarrowlength}

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

### getBeginArrowWidth() {#getbeginarrowwidth}

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

### getBeginType() {#getbegintype}

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

### getCapType() {#getcaptype}

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

### getColor() {#getcolor}

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

### getCompoundType() {#getcompoundtype}

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

### getDashType() {#getdashtype}

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

### getEndArrowLength() {#getendarrowlength}

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

### getEndArrowWidth() {#getendarrowwidth}

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

### getEndType() {#getendtype}

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

### getFormattingType() {#getformattingtype}

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

### getGradientFill() {#getgradientfill}

Represents gradient fill.

### getJoinType() {#getjointype}

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

### getStyle() {#getstyle}

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

### getThemeColor() {#getthemecolor}

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

### getTransparency() {#gettransparency}

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

### getWeight() {#getweight}

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

### getWeightPt() {#getweightpt}

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

### getWeightPx() {#getweightpx}

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

### isAuto() {#isauto}

Indicates whether this line style is auto assigned.

### isAutomaticColor() {#isautomaticcolor}

Indicates whether the color of line is automatic assigned.

### isVisible() {#isvisible}

Represents whether the line is visible.

### setAuto() {#setauto}

Indicates whether this line style is auto assigned.

### setBeginArrowLength() {#setbeginarrowlength}

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

### setBeginArrowWidth() {#setbeginarrowwidth}

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

### setBeginType() {#setbegintype}

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

### setCapType() {#setcaptype}

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

### setColor() {#setcolor}

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

### setCompoundType() {#setcompoundtype}

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

### setDashType() {#setdashtype}

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

### setEndArrowLength() {#setendarrowlength}

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

### setEndArrowWidth() {#setendarrowwidth}

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

### setEndType() {#setendtype}

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

### setFormattingType() {#setformattingtype}

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

### setJoinType() {#setjointype}

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

### setStyle() {#setstyle}

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

### setThemeColor() {#setthemecolor}

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

### setTransparency() {#settransparency}

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

### setVisible() {#setvisible}

Represents whether the line is visible.

### setWeight() {#setweight}

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

### setWeightPt() {#setweightpt}

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

### setWeightPx() {#setweightpx}

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