cete.dynamicpdf.reportwriter.reportelements.line
Line
- Namespace: ceTe.DynamicPDF.ReportWriter.ReportElements
- Assemblies: DynamicPDF.NETFramework40.dll, DynamicPDF.NETStandard20.dll
Represents a line report element.
public class Line : ReportElement
Public Class Line
Inherits ReportElement
Inheritance: Object → ReportElement → Line
Licensing
This class is a DynamicPDF ReportWriter Professional Edition feature. One of the following licenses is required for non-evaluation usage:
- DynamicPDF ReportWriter for .NET Professional Edition
- DynamicPDF ReportWriter for .NET Enterprise Edition
- DynamicPDF Core Suite for .NET Professional Edition
- DynamicPDF Core Suite for .NET Enterprise Edition
Properties
Cap
Gets or sets the LineCap enumeration used to specify the line cap style of the line.
public LineCap Cap { get; set; }
Public Property Cap As LineCap
Property Value
Color
Gets or sets the Color object to use for the line.
public Color Color { get; set; }
Public Property Color As Color
Property Value
LineStyle
Gets or sets the LineStyle object to use for the style of the line.
public LineStyle LineStyle { get; set; }
Public Property LineStyle As LineStyle
Property Value
Width
Gets or sets the width of the line.
public float Width { get; set; }
Public Property Width As Single
Property Value
X1
Gets or sets the first X coordinate of the line.
public float X1 { get; set; }
Public Property X1 As Single
Property Value
X2
Gets or sets the second X coordinate of the line.
public float X2 { get; set; }
Public Property X2 As Single
Property Value
Y1
Gets or sets the first Y coordinate of the line.
public float Y1 { get; set; }
Public Property Y1 As Single
Property Value
Y2
Gets or sets the second Y coordinate of the line.
public float Y2 { get; set; }
Public Property Y2 As Single
Property Value
Methods
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .
Events
LaidOut
Occurs after the line has been laid out.
public event LineLaidOutEventHandler Line.LaidOut;
Public Event Line.LaidOut As LineLaidOutEventHandler
Event Handler
LayingOut
Occurs before the line is laid out.
public event LayingOutEventHandler Line.LayingOut;
Public Event Line.LayingOut As LayingOutEventHandler