Sets or returns the underline color for a character run as a object.

<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.Drawing.Color UnderlineColor{ get; set; }
</pre></td></tr></table>
<p>Public Property UnderlineColor() As System.Drawing.Color</p>

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


          //--- Return UnderlineTypeColor
          Color oColor = oFont.UnderlineColor;

          //--- Set UnderlineColor
          oFont.UnderlineColor = Color.Blue;
        

          '--- Return UnderlineColor
          Dim oColor As Color = oFont.UnderlineColor

          '--- Set UnderlineColor
          oFont.UnderlineColor = Color.Blue