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