{description}
{excerpt}Sets or returns a [Font.Hyphenation|Font.Hyphenation] object that represents the hyphenation rule for a character run.{excerpt}
{signature:C#}
 public Hyphenation HyphenationRule{ get; set; }
{signature}{signature:vb.net}
Public Property HyphenationRule() As Hyphenation
{signature}
{remarks}MS Word equivalent: None

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

          //--- Return HyphenationRule
          Font.Hyphenation oHyphenationRule = oFont.HyphenationRule;

          //--- Set HyphenationRule
          oFont.HyphenationRule = Font.Hyphenation.ChangeAfter;
        {code}
{code:vb.net|title=vb.net}

          '--- Return HyphenationRule
          Dim oHyphenationRule As Font.Hyphenation = oFont.HyphenationRule

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

{example}