Hyphenation Class
Represents Hyphenation settings of the document.
Inheritance
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class Hyphenation
Properties
AutoHyphenation
Gets or sets a value indicating whether to hyphenate the document contents automatically. The default is false.
Declaration
public bool AutoHyphenation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if to automatically hyphenate the document contents, otherwise false. |
ConsecutiveHyphensLimit
Gets or sets the maximum number of consecutive lines of text that can end with a hyphen.
Declaration
public int ConsecutiveHyphensLimit { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer that specifies the number of consecutive lines. |
Remarks
Consecutive hyphens limit must be between 0 and 32767.
HyphenateCaps
Gets or sets a value indicating whether to hyphenate words in all capital letters. The default is true.
Declaration
public bool HyphenateCaps { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if to hyphenate words in all capital letters, otherwise false. |
HyphenationZone
Gets or sets the amount of whitespace which can be left at the end of a line (or added to justified lines) before hyphenation measured in point.
Declaration
public float HyphenationZone { get; set; }
Property Value
Type | Description |
---|---|
System.Single | A float that specifies the amount of whitespace. |
Remarks
Hyphenation zone must be between 0.05 pt and 1584 pt.