Class PdfHyphenationLanguage
Specifies the language to use for the hyphenation. The property must be set to a value other than None to be activated.
Inheritance
Namespace: IronPdf
Assembly: IronPdf.dll
Syntax
public sealed class PdfHyphenationLanguage : Enum
The PdfHyphenationLanguage enumeration in IronPDF selects which TeX hyphenation pattern is applied when ChromePdfRenderOptions.PdfHyphenation is enabled.
It belongs to the IronPdf namespace and exposes four values: None (default), EnglishUS, EnglishBritish, and Russian. The setting only takes effect when CSS leaves word breaks to the renderer.
See Custom Hyphenation for justified-text examples.
Fields
EnglishBritish
Uses British English hyphenation rules.
Declaration
public const PdfHyphenationLanguage EnglishBritish
Field Value
| Type | Description |
|---|---|
| PdfHyphenationLanguage |
EnglishUS
Uses U.S. English hyphenation rules.
Declaration
public const PdfHyphenationLanguage EnglishUS
Field Value
| Type | Description |
|---|---|
| PdfHyphenationLanguage |
None
Manual hyphenation is disabled. This is the default.
Declaration
public const PdfHyphenationLanguage None
Field Value
| Type | Description |
|---|---|
| PdfHyphenationLanguage |
Russian
Uses Russian hyphenation rules.
Declaration
public const PdfHyphenationLanguage Russian
Field Value
| Type | Description |
|---|---|
| PdfHyphenationLanguage |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |