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}{signature:
}
Signature
vb.net
vb.net
Public Property HyphenationRule() As Hyphenation
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

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

None

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

          //--- Set HyphenationRule
          oFont.HyphenationRule = Font.Hyphenation.ChangeAfter;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}
          
'--- Return HyphenationRule
          Dim oHyphenationRule As Font.Hyphenation = oFont.HyphenationRule

          '--- Set HyphenationRule
          oFont.HyphenationRule = Font.Hyphenation.ChangeAfter
        
{code} {example}