Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} representing if auto hyphening is allowed for a paragraph.{excerpt}
{signature:C#}
 public boolean AllowAutoHyphenation{ get; set; }
{signature}{signature:vb.net}
Public Property AllowAutoHyphenation() As Boolean
{signature}
{remarks}The default value for a new paragraph is true.

MS Word equivalent: Format menu > Paragraph... > Line and Page Breaks tab > Don't hyphenate

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

          //--- Return AllowAutoHyphenation
          bool allowAutoHyphenation = oParagraphFormatting.AllowAutoHyphenation;

          //--- Set AllowAutoHyphenation
          oParagraphFormatting.AllowAutoHyphenation = true;
        {code}
{code:vb.net|title=vb.net}

          '--- Return AllowAutoHyphenation
          Dim allowAutoHyphenation As Boolean = oParagraphFormatting.AllowAutoHyphenation

          '--- Set AllowAutoHyphenation
          oParagraphFormatting.AllowAutoHyphenation = True
        {code}

{example}