HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.pdf.IHyphenationEvent Interface Reference
Inheritance diagram for iTextSharp.text.pdf.IHyphenationEvent:
iTextSharp.text.pdf.HyphenationAuto

Public Member Functions

string GetHyphenatedWordPre (string word, BaseFont font, float fontSize, float remainingWidth)
 

Properties

string HyphenSymbol [get]
 
string HyphenatedWordPost [get]
 

Detailed Description

Called by Chunk to hyphenate a word.

Author
Paulo Soares (psoar.nosp@m.es@c.nosp@m.onsis.nosp@m.te.p.nosp@m.t)

Member Function Documentation

◆ GetHyphenatedWordPre()

string iTextSharp.text.pdf.IHyphenationEvent.GetHyphenatedWordPre ( string  word,
BaseFont  font,
float  fontSize,
float  remainingWidth 
)

Hyphenates a word and returns the first part of it. To get the second part of the hyphenated word call getHyphenatedWordPost().

Parameters
wordthe word to hyphenate
fontthe font used by this word
fontSizethe font size used by this word
remainingWidththe width available to fit this word in
Returns
the first part of the hyphenated word including the hyphen symbol, if any

Implemented in iTextSharp.text.pdf.HyphenationAuto.

Property Documentation

◆ HyphenatedWordPost

string iTextSharp.text.pdf.IHyphenationEvent.HyphenatedWordPost
get

Gets the second part of the hyphenated word. Must be called after getHyphenatedWordPre().

Returns
the second part of the hyphenated word

◆ HyphenSymbol

string iTextSharp.text.pdf.IHyphenationEvent.HyphenSymbol
get

Gets the hyphen symbol.

Returns
the hyphen symbol

The documentation for this interface was generated from the following file: