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 an int that represents the number of consecutive lines that can be auto-hyphenated by Word in this document.



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

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

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

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

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

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns an {{int}} that represents the number of consecutive lines that can be auto\-hyphenated by Word in this document.{excerpt}
{signature:C#}
 public int AllowedConsecutiveHyphens{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property AllowedConsecutiveHyphens() As Integer
Remarks

This option is set to No limit by default.

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

MS Word equivalent: Tools menu > Language > Hyphenation... > Limit consecutive hyphens to:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle