Skip to main content

LineStyle

Version: 7.0

cete.dynamicpdf.linestyle

LineStyle​

Represents a style of line.

public class LineStyle
Public Class LineStyle

Inheritance: Object → LineStyle

Licensing​

This class is a DynamicPDF Generator Community Edition feature.

Constructors​

LineStyle(Single[])​

Initializes a new instance of the LineStyle class.

public LineStyle(Single[] dashArray)
Public Sub New (dashArray As Single[])

Parameters​

The array specifying the line style.

LineStyle(Single[], Single)​

Initializes a new instance of the LineStyle class.

public LineStyle(Single[] dashArray, float dashPhase)
Public Sub New (dashArray As Single[], dashPhase As Single)

Parameters​

The array specifying the line style.

The phase of the line style.

Properties​

Dash​

Gets a dashed line.

public static LineStyle Dash { get; }
Public Shared Property Dash As LineStyle

Property Value​

LineStyle

DashLarge​

Gets a line with large dashes.

public static LineStyle DashLarge { get; }
Public Shared Property DashLarge As LineStyle

Property Value​

LineStyle

DashSmall​

Gets a line with small dashes.

public static LineStyle DashSmall { get; }
Public Shared Property DashSmall As LineStyle

Property Value​

LineStyle

Dots​

Gets a dotted line.

public static LineStyle Dots { get; }
Public Shared Property Dots As LineStyle

Property Value​

LineStyle

None​

Gets a invisible line.

public static LineStyle None { get; }
Public Shared Property None As LineStyle

Property Value​

LineStyle

Solid​

Gets a solid line.

public static LineStyle Solid { get; }
Public Shared Property Solid As LineStyle

Property Value​

LineStyle

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 .

See Also​

ceTe.DynamicPDF