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

...

Description

Excerpt

Sets or returns an int that represents the number of consecutive lines that can be auto-hyphenated by Word in this document.

Signature
C#
C#
 public int AllowedConsecutiveHyphens{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property AllowedConsecutiveHyphens() As Integer
{signature}
{remarks}This option is set to No limit by default.

MS Word equivalent: Tools menu > Language > 
Remarks

This option is set to No limit by default.

MS Word equivalent: Tools menu > Language > Hyphenation...

>

Limit

consecutive

hyphens

to:

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

Example
Code Block
csharp
csharp
titleC#


          //--- Return AllowedConsecutiveHyphens
          int allowedHyphens = hyphenSettings.AllowedConsecutiveHyphens;

          //--- Set AllowedConsecutiveHyphens
          hyphenSettings.AllowedConsecutiveHyphens = 1;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return AllowedConsecutiveHyphens
          Dim allowedHyphens As Boolean = hyphenSettings.AllowedConsecutiveHyphens

          '--- Set AllowedConsecutiveHyphens
          hyphenSettings.AllowedConsecutiveHyphens = 1
        
{code} {example}