Class LineData
Represents line properties
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.DLS
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class LineData : FormatBase, IEntityBase, IXDLSSerializable
Fields
DashStyleKey
Declaration
public const int DashStyleKey = 4
Field Value
Type |
---|
System.Int32 |
LineColorKey
Declaration
public const int LineColorKey = 2
Field Value
Type |
---|
System.Int32 |
LineWidthKey
Declaration
public const int LineWidthKey = 3
Field Value
Type |
---|
System.Int32 |
NoLineKey
Declaration
public const int NoLineKey = 1
Field Value
Type |
---|
System.Int32 |
Properties
DashStyle
Gets / sets line style.
Declaration
public DashStyle DashStyle { get; set; }
Property Value
Type |
---|
System.Drawing.Drawing2D.DashStyle |
LineColor
Gets / sets line color.
Declaration
public Color LineColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
LineWidth
Gets / sets line width.
Declaration
public float LineWidth { get; set; }
Property Value
Type |
---|
System.Single |
NoLine
Gets / sets whether line is enabled.
Declaration
public bool NoLine { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
GetDefValue(Int32)
Declaration
protected override object GetDefValue(int key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key |
Returns
Type |
---|
System.Object |
Overrides
ReadXmlAttributes(IXDLSAttributeReader)
Overloaded. Reads attributes.
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader | Reader object. |
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
Overloaded. Writes data to XML.
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeWriter | writer | Writer object. |