Sets or returns a String that represents the name of the font used in this formatting.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public System.String FontName{ get; set; }
</pre></td></tr></table>
<p>Public Property FontName() As String</p>

MS Word equivalent: Format menu > Font... > Font tab > Font:


          //--- Return FontName
          string fontName = oFont.FontName;

          //--- Set Fontname
          oFont.FontName = "Arial";
        

          '--- Return FontName
          Dim fontName As String = oFont.FontName

          '--- Set FontName
          oFont.FontName = "Arial"