Page tree
    Created with Raphaël 2.1.0
    Loading...
Skip to end of metadata
Go to start of metadata

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
  • No labels