Skip to main content

LineBreaker

Version: 10.0

cete.dynamicpdf.text.linebreaker

LineBreaker​

  • Namespace: ceTe.DynamicPDF.Text
  • Assemblies: DynamicPDF.NETFramework40.dll, DynamicPDF.NETStandard20.dll

Represents a line breaker for text.

public abstract class LineBreaker
Public MustInherit Class LineBreaker

Inheritance: Object → LineBreaker

Derived: LatinLineBreaker, UniversalLineBreaker

Licensing​

This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:

  • DynamicPDF Generator Professional Edition
  • DynamicPDF Generator Enterprise Edition
  • DynamicPDF Merger Professional Edition
  • DynamicPDF Merger Enterprise Edition

Properties​

Default​

Gets or sets the default line breaker.

public static LineBreaker Default { get; set; }
Public Shared Property Default As LineBreaker

Property Value​

LineBreaker

Latin​

Gets the Latin line breaker.

public static LineBreaker Latin { get; }
Public Shared Property Latin As LineBreaker

Property Value​

LineBreaker

Universal​

Gets the universal line breaker.

public static LineBreaker Universal { get; }
Public Shared Property Universal As LineBreaker

Property Value​

LineBreaker

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 .

GetLines(Char[], Int32, Int32, Single, Font, Single)​

Returns a TextLineList with the text broken into lines.

public TextLineList GetLines(Char[] text, int start, int length, float width, Font font, float fontSize)
Function GetLines(text As Char[], start As Integer, length As Integer, width As Single, font As Font, fontSize As Single) As TextLineList

Parameters​

Text for the text line list.

Start index for the text of the text line list.

Length of the text of the text line list.

Width of the text line list.

Font to use for the text of the text line list.

Font size to use for the text of the text line list.

Returns​

A TextLineList for the given text.

GetLines(Char[], Int32, Int32, Single, Single, Font, Single)​

Returns a TextLineList with the text broken into lines.

public abstract TextLineList GetLines(Char[] text, int start, int length, float width, float height, Font font, float fontSize)
MustOverride Function GetLines(text As Char[], start As Integer, length As Integer, width As Single, height As Single, font As Font, fontSize As Single) As TextLineList

Parameters​

Text for the text line list.

Start index for the text of the text line list.

Length of the text of the text line list.

Width of the text line list.

Height of the text line list.

Font to use for the text of the text line list.

Font size to use for the text of the text line list.

Returns​

A TextLineList for the given text.

GetLines(Char[], Single, Font, Single)​

Returns a TextLineList with the text broken into lines.

public TextLineList GetLines(Char[] text, float width, Font font, float fontSize)
Function GetLines(text As Char[], width As Single, font As Font, fontSize As Single) As TextLineList

Parameters​

Text for the text line list.

Width of the text line list.

Font to use for the text of the text line list.

Font size to use for the text of the text line list.

Returns​

A TextLineList for the given text.

GetLines(Char[], Single, Single, Font, Single)​

Returns a TextLineList with the text broken into lines.

public TextLineList GetLines(Char[] text, float width, float height, Font font, float fontSize)
Function GetLines(text As Char[], width As Single, height As Single, font As Font, fontSize As Single) As TextLineList

Parameters​

Text for the text line list.

Width of the text line list.

Height of the text line list.

Font to use for the text of the text line list.

Font size to use for the text of the text line list.

Returns​

A TextLineList for the given text.

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.Text