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#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public Hyphenation HyphenationRule{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net

<p>Public Property HyphenationRule() As Hyphenation</p>

...

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