Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

...

Wiki Markup
{description}
{excerpt}Sets or returns the underline color for a character run as a {msdn:System.Drawing.Color

...



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

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

          //--- Set UnderlineColor
          oFont.UnderlineColor = Color.Blue;
        
{code}
{code:vb.net
|title=vb.net
}

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

          '--- Set UnderlineColor
          oFont.UnderlineColor = Color.Blue
        {code}

{example}
Signature
C#C#
|Color} object.{excerpt}
{signature:C#}
 public System.Drawing.Color UnderlineColor{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property UnderlineColor() As System.Drawing.Color
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: Format menu > Font... > Font tab > Underline color:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle