Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a boolean that represents whether or not Word will automatically hyphenate this document.

 document

{remarks}
{example}{code:csharp|title=C#}

          //--- Return AutoHyphen
          bool autoHyphen = hyphenSettings.AutoHyphen;

          //--- Set AutoHyphen
          hyphenSettings.AutoHyphen = true;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return AutoHyphen
          Dim autoHyphen As Boolean = hyphenSettings.AutoHyphen

          '--- Set AutoHyphen
          hyphenSettings.AutoHyphen = True
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} that represents whether or not Word will automatically hyphenate this document.{excerpt}
{signature:C#}
 public boolean AutoHyphen{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property AutoHyphen() As Boolean
Remarks

This option is set to false by default.

MS Word equivalent: Tools menu > Language >
{signature}
{remarks}This option is set to false by default.

MS Word equivalent: Tools menu > Language > Hyphenation... > Automatically hyphenate
document
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle