Skip to main content

UniversalLineBreaker

Version: 10.0

cete.dynamicpdf.text.universallinebreaker

UniversalLineBreaker​

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

Represents a universal line breaker.

public class UniversalLineBreaker : LineBreaker
Public Class UniversalLineBreaker
Inherits LineBreaker

Inheritance: Object → LineBreaker → UniversalLineBreaker

Licensing​

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

  • DynamicPDF Generator for .NET Professional Edition
  • DynamicPDF Generator for .NET Enterprise Edition
  • DynamicPDF Merger for .NET Professional Edition
  • DynamicPDF Merger for .NET Enterprise Edition
  • 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

Remarks​

This line breaker works well for both CJK and many other types of text.

Constructors​

UniversalLineBreaker()​

Initializes a new instance of the UniversalLineBreaker class.

public UniversalLineBreaker()
Public Sub New ()

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. (Inherited from LineBreaker)

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 for Latin or CJK text.

public TextLineList GetLines(Char[] text, int start, int length, float width, float height, Font font, float fontSize)
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. (Inherited from LineBreaker)

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. (Inherited from LineBreaker)

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