Skip to main content

Line

Version: 12.0

cete.dynamicpdf.layoutengine.layoutelements.line

Line​

Represents a line report element.

public class Line : LayoutElement
Public Class Line
Inherits LayoutElement

Inheritance: Object → LayoutElement → Line

Licensing Info​

This class is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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​

LineCap

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Color​

Gets or sets the Color object to use for the line.

public Color Color { get; set; }
Public Property Color As Color

Property Value​

Color

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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​

LineStyle

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Width​

Gets or sets the width of the line.

public float Width { get; set; }
Public Property Width As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

X1​

Gets or sets the first X coordinate of the line.

public float X1 { get; set; }
Public Property X1 As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

X2​

Gets or sets the second X coordinate of the line.

public float X2 { get; set; }
Public Property X2 As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Y1​

Gets or sets the first Y coordinate of the line.

public float Y1 { get; set; }
Public Property Y1 As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Y2​

Gets or sets the second Y coordinate of the line.

public float Y2 { get; set; }
Public Property Y2 As Single

Property Value​

Single

Licensing Info​

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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 .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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.

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

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 .

Licensing Info​

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Events​

LaidOut​

Occurs after the line has been laid out.

public event LineLaidOutEventHandler Line.LaidOut;
Public Event Line.LaidOut As LineLaidOutEventHandler

Event Handler​

LineLaidOutEventHandler

Licensing Info​

This event is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

LayingOut​

Occurs before the line is laid out.

public event LayingOutEventHandler Line.LayingOut;
Public Event Line.LayingOut As LayingOutEventHandler

Event Handler​

LayingOutEventHandler

Licensing Info​

This event is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also​

ceTe.DynamicPDF.LayoutEngine.LayoutElements