Description
Sets or returns a boolean that represents whether or not Word will automatically hyphenate this document.
C#
public boolean AutoHyphen{ get; set; }
vb.net
Public Property AutoHyphen() As Boolean
Remarks
This option is set to false by default.
MS Word equivalent: Tools menu > Language > Hyphenation... > Automatically hyphenate document
Examples
C#
//--- Return AutoHyphen
bool autoHyphen = hyphenSettings.AutoHyphen;
//--- Set AutoHyphen
hyphenSettings.AutoHyphen = true;
vb.net
'--- Return AutoHyphen
Dim autoHyphen As Boolean = hyphenSettings.AutoHyphen
'--- Set AutoHyphen
hyphenSettings.AutoHyphen = True
