HyphenationOptions Class
Represents the hyphenation options for the DocumentModel.
- Inheritance:
- System.ObjectHyphenationOptions
Constructors
HyphenationOptions()
Initializes a new instance of the HyphenationOptions class.
Properties
AutoHyphenation
Gets or sets a value indicating whether automatic hyphenation is turned on for the specified document.
Property Value
- System.Boolean
true if automatic hyphenation is turned on for the specified document; otherwise, false.
ConsecutiveHyphensLimit
Gets or sets the maximum number of consecutive lines that can end with hyphens.
public int ConsecutiveHyphensLimit { get; set; }
Public Property ConsecutiveHyphensLimit As Integer
Property Value
- System.Int32
The maximum number of consecutive lines that can end with hyphens.
Remarks
Consecutive hyphens limit value can be between 0 and 32767. Default value is 0.
HyphenateCaps
Gets or sets a value indicating whether words in all capital letters can be hyphenated.
Property Value
- System.Boolean
true if words in all capital letters can be hyphenated; otherwise, false.
HyphenationZone
Gets or sets the width of the hyphenation zone, in points.
Default value is 18 points (0.25 inch).
Property Value
- System.Double
The width of the hyphenation zone, in points.
Remarks
The hyphenation zone is the maximum amount of space left between the end of the last word in a line and the right margin.
Methods
Clone()
Clones this HyphenationOptions instance.