Hyphenates words automatically accordingly to the language and country. The hyphenator engine was taken from FOP and uses the TEX patterns. If a language is not provided and a TEX pattern for it exists, it can be easily adapted.
- Author
 - Paulo Soares (psoar.nosp@m.es@c.nosp@m.onsis.nosp@m.te.p.nosp@m.t) 
 
 
◆ HyphenationAuto()
      
        
          | iTextSharp.text.pdf.HyphenationAuto.HyphenationAuto  | 
          ( | 
          string  | 
          lang,  | 
        
        
           | 
           | 
          string  | 
          country,  | 
        
        
           | 
           | 
          int  | 
          leftMin,  | 
        
        
           | 
           | 
          int  | 
          rightMin  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Creates a new hyphenation instance usable in Chunk. 
- Parameters
 - 
  
    | lang | the language ("en" for english, for example)  | 
    | country | the country ("GB" for Great-Britain or "none" for no country, for example)  | 
    | leftMin | the minimun number of letters before the hyphen  | 
    | rightMin | the minimun number of letters after the hyphen  | 
  
   
 
 
◆ GetHyphenatedWordPre()
      
        
          | string iTextSharp.text.pdf.HyphenationAuto.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
 - 
  
    | word | the word to hyphenate  | 
    | font | the font used by this word  | 
    | fontSize | the font size used by this word  | 
    | remainingWidth | the width available to fit this word in  | 
  
   
- Returns
 - the first part of the hyphenated word including the hyphen symbol, if any 
 
Implements iTextSharp.text.pdf.IHyphenationEvent.
 
 
◆ hyphenator
  
  
      
        
          | Hyphenator iTextSharp.text.pdf.HyphenationAuto.hyphenator | 
         
       
   | 
  
protected   | 
  
 
 
◆ post
  
  
      
        
          | string iTextSharp.text.pdf.HyphenationAuto.post | 
         
       
   | 
  
protected   | 
  
 
The second part of the hyphenated word. 
 
 
◆ HyphenatedWordPost
  
  
      
        
          | string iTextSharp.text.pdf.HyphenationAuto.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.HyphenationAuto.HyphenSymbol | 
         
       
   | 
  
get   | 
  
 
Gets the hyphen symbol. 
- Returns
 - the hyphen symbol 
 
 
 
The documentation for this class was generated from the following file: