Skip to end of metadata
Go to start of metadata

Description

Sets or returns a boolean representing if auto hyphening is allowed for a paragraph.
C#
public boolean AllowAutoHyphenation{ get; set; }
vb.net
Public Property AllowAutoHyphenation() As Boolean

Remarks

The default value for a new paragraph is true.

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

Examples

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

          //--- Set AllowAutoHyphenation
          oParagraphFormatting.AllowAutoHyphenation = true;
        
vb.net
          '--- Return AllowAutoHyphenation
          Dim allowAutoHyphenation As Boolean = oParagraphFormatting.AllowAutoHyphenation

          '--- Set AllowAutoHyphenation
          oParagraphFormatting.AllowAutoHyphenation = True
        
  • No labels