Class Line
Represents a Line.
Inherited Members
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public class Line
Constructors
Line()
Initializes a new instance of the Line class.
Declaration
public Line()
Fields
type
Gets type.
Declaration
protected LineType type
Field Value
| Type | Description |
|---|---|
| LineType |
Properties
AutomaticColor
Gets or sets automatic color.
Declaration
public bool AutomaticColor { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
BeginArrowLength
Gets or sets the arrowhead length at the beginning of this line.
Declaration
public ArrowLength BeginArrowLength { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowLength |
BeginArrowSize
Gets or sets the legacy combined arrow size at the beginning of this line.
Declaration
public ArrowSize BeginArrowSize { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowSize |
BeginArrowType
Gets or sets the arrowhead type at the beginning of this line.
Declaration
public ArrowType BeginArrowType { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowType |
BeginArrowWidth
Gets or sets the arrowhead width at the beginning of this line.
Declaration
public ArrowWidth BeginArrowWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowWidth |
CapType
Gets or sets cap type.
Declaration
public LineCap CapType { get; set; }
Property Value
| Type | Description |
|---|---|
| LineCap |
Color
Gets color.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
CompoundType
Gets or sets the legacy compound line style value.
Declaration
public CompoundLine CompoundType { get; set; }
Property Value
| Type | Description |
|---|---|
| CompoundLine |
DashType
Gets or sets dash type.
Declaration
public DashType DashType { get; set; }
Property Value
| Type | Description |
|---|---|
| DashType |
DrawingColor
Gets drawing color.
Declaration
public DrawingColor DrawingColor { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
EndArrowLength
Gets or sets the arrowhead length at the end of this line.
Declaration
public ArrowLength EndArrowLength { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowLength |
EndArrowSize
Gets or sets the legacy combined arrow size at the end of this line.
Declaration
public ArrowSize EndArrowSize { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowSize |
EndArrowType
Gets or sets the arrowhead type at the end of this line.
Declaration
public ArrowType EndArrowType { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowType |
EndArrowWidth
Gets or sets the arrowhead width at the end of this line.
Declaration
public ArrowWidth EndArrowWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| ArrowWidth |
Gradient
Gets gradient.
Declaration
public GradientFill Gradient { get; set; }
Property Value
| Type | Description |
|---|---|
| GradientFill |
JoinType
Gets or sets join type.
Declaration
public LineJoinType JoinType { get; set; }
Property Value
| Type | Description |
|---|---|
| LineJoinType |
LineStyle
Gets or sets the compound line style used to draw this line.
Declaration
public ShapeLineStyle LineStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| ShapeLineStyle |
Transparency
Gets or sets transparency.
Declaration
public decimal Transparency { get; set; }
Property Value
| Type | Description |
|---|---|
| decimal |
Type
Gets type.
Declaration
public LineType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| LineType |
WidthEmu
Gets or sets width emu.
Declaration
public long WidthEmu { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
WidthPoints
Gets width points.
Declaration
public double WidthPoints { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
OnTypeChanged()
Describes the line configuration.
Declaration
protected virtual void OnTypeChanged()