Page tree

Versions Compared

Key

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

Description

Excerpt

Sets or returns a Font.Hyphenation object that represents the hyphenation rule for a character run.

Signature
C#
C#

 public Hyphenation HyphenationRule{ get; set; }
Signature
vb.net
vb.net

Public Property HyphenationRule() As Hyphenation
Remarks

MS Word equivalent: None

Example
Code Block
csharp
csharp
titleC#
            //--- Return HyphenationRule
          Font.Hyphenation oHyphenationRule = oFont.HyphenationRule;

          //--- Set HyphenationRule
          oFont.HyphenationRule = Font.Hyphenation.ChangeAfter;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return HyphenationRule
          Dim oHyphenationRule As Font.Hyphenation = oFont.HyphenationRule

          '--- Set HyphenationRule
          oFont.HyphenationRule = Font.Hyphenation.ChangeAfter