Class Line
Represents line formatting for a shape border.
Inherited Members
Namespace: DRIT.Spreadsheet.Drawing
Assembly: DRIT.Spreadsheet.dll
Syntax
public class Line
Constructors
Line()
Initializes a new instance of the Line class.
Declaration
public Line()
Fields
type
Specifies the line type.
Declaration
protected LineType type
Field Value
| Type | Description |
|---|---|
| LineType |
Properties
AutomaticColor
Gets or sets whether the line uses automatic color.
Declaration
public bool AutomaticColor { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
BeginArrowSize
Specifies the begin arrow size.
Declaration
public ArrowSize BeginArrowSize { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowSize |
BeginArrowType
Specifies the begin arrow type.
Declaration
public ArrowType BeginArrowType { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowType | The begin arrow type returned by the operation. |
CapType
Specifies the line cap type.
Declaration
public LineCap CapType { get; set; }
Property Value
| Type | Description |
|---|---|
| LineCap |
Color
Specifies the line color.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
CompoundType
Specifies the compound line type.
Declaration
public CompoundLine CompoundType { get; set; }
Property Value
| Type | Description |
|---|---|
| CompoundLine |
DashType
Specifies the dash type of the line.
Declaration
public DashType DashType { get; set; }
Property Value
| Type | Description |
|---|---|
| DashType |
DrawingColor
Specifies the drawing color.
Declaration
public DrawingColor DrawingColor { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
EndArrowSize
Specifies the end arrow size.
Declaration
public ArrowSize EndArrowSize { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowSize |
EndArrowType
Specifies the end arrow type.
Declaration
public ArrowType EndArrowType { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowType |
Gradient
Specifies the gradient fill.
Declaration
public GradientFill Gradient { get; set; }
Property Value
| Type | Description |
|---|---|
| GradientFill |
JoinType
Specifies the line join type.
Declaration
public LineJoinType JoinType { get; set; }
Property Value
| Type | Description |
|---|---|
| LineJoinType |
Transparency
Specifies the transparency of the line.
Declaration
public decimal Transparency { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
Type
Specifies the line type.
Declaration
public LineType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| LineType |
WidthEmu
Specifies the line width in EMU units.
Declaration
public long WidthEmu { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
WidthPoints
Specifies the line width in points.
Declaration
public double WidthPoints { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
OnTypeChanged()
Called when the line type changes.
Declaration
protected virtual void OnTypeChanged()