Table of Contents

Class Hyphenator

Namespace
iTextSharp.text.pdf.hyphenation
Assembly
iTextSharp.LGPLv2.Core.dll

This class is the main entry point to the hyphenation package. You can use only the static methods or create an instance. @author Carlos Villegas

public class Hyphenator
Inheritance
Hyphenator
Inherited Members

Constructors

Hyphenator(string, string, int, int)

public Hyphenator(string lang, string country, int leftMin, int rightMin)

Parameters

lang string
country string
leftMin int
rightMin int

Methods

GetHyphenationTree(string, string)

public static HyphenationTree GetHyphenationTree(string lang, string country)

Parameters

lang string
country string

Returns

HyphenationTree

the hyphenation tree

GetResourceHyphenationTree(string)

public static HyphenationTree GetResourceHyphenationTree(string key)

Parameters

key string

Returns

HyphenationTree

a hyphenation tree

Hyphenate(char[], int, int)

public Hyphenation Hyphenate(char[] word, int offset, int len)

Parameters

word char[]
offset int
len int

Returns

Hyphenation

a hyphenation object

Hyphenate(string)

public Hyphenation Hyphenate(string word)

Parameters

word string

Returns

Hyphenation

a hyphenation object

Hyphenate(string, string, char[], int, int, int, int)

public static Hyphenation Hyphenate(string lang, string country, char[] word, int offset, int len, int leftMin, int rightMin)

Parameters

lang string
country string
word char[]
offset int
len int
leftMin int
rightMin int

Returns

Hyphenation

a hyphenation object

Hyphenate(string, string, string, int, int)

public static Hyphenation Hyphenate(string lang, string country, string word, int leftMin, int rightMin)

Parameters

lang string
country string
word string
leftMin int
rightMin int

Returns

Hyphenation

a hyphenation object

SetLanguage(string, string)

public void SetLanguage(string lang, string country)

Parameters

lang string
country string

SetMinPushCharCount(int)

public void SetMinPushCharCount(int min)

Parameters

min int

SetMinRemainCharCount(int)

public void SetMinRemainCharCount(int min)

Parameters

min int