Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

Excerpt

Sets or returns a boolean representing if auto hyphening is allowed for a paragraph.

Signature
C#
C#
public boolean AllowAutoHyphenation{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property AllowAutoHyphenation() As Boolean
{signature}
{remarks}The default value for a new paragraph is true.

MS Word equivalent: Format menu > 
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#}

hyphenate

Example
Code Block
csharp
csharp
titleC#
          
//--- Return AllowAutoHyphenation
          bool allowAutoHyphenation = oParagraphFormatting.AllowAutoHyphenation;

          //--- Set AllowAutoHyphenation
          oParagraphFormatting.AllowAutoHyphenation = true;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Return AllowAutoHyphenation
          Dim allowAutoHyphenation As Boolean = oParagraphFormatting.AllowAutoHyphenation

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