Skip to main content

Line

Version: 10.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​

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​

LineCap

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

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

Width​

Gets or sets the width of the line.

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

Property Value​

Single

X1​

Gets or sets the first X coordinate of the line.

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

Property Value​

Single

X2​

Gets or sets the second X coordinate of the line.

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

Property Value​

Single

Y1​

Gets or sets the first Y coordinate of the line.

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

Property Value​

Single

Y2​

Gets or sets the second Y coordinate of the line.

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

Property Value​

Single

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.

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​

LineLaidOutEventHandler

LayingOut​

Occurs before the line is laid out.

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

Event Handler​

LayingOutEventHandler

See Also​

ceTe.DynamicPDF.LayoutEngine.LayoutElements