Skip to end of metadata
Go to start of metadata

Description

Sets or returns the highlight color for a character run as a Color object.
C#
public System.Drawing.Color Highlight{ get; set; }
vb.net
Public Property Highlight() As System.Drawing.Color

Remarks

MS Word equivalent: Formatting toolbar > Highlight button

Examples

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

          //--- Set Highlight
          oFont.Highlight = Color.Yellow;
        
vb.net
          '--- Return Highlight
          Dim oColor As Color = oFont.Highlight

          '--- Set Highlight
          oFont.Highlight = Color.Yellow
        
  • No labels