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 highlight color for a character run as a {msdn:System.Drawing.Color

...

 button

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

          //--- Return Highlight
          Color oColor = oFont.Highlight;

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

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

          '--- Set Highlight
          oFont.Highlight = Color.Yellow
        {code}

{example}
Signature
C#C#
|Color} object.{excerpt}
{signature:C#}
 public System.Drawing.Color Highlight{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Highlight() As System.Drawing.Color
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: Formatting toolbar > Highlight
button
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle