Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns a Font.UnderlineType object that represents the underline type for this formatting.

Signature
C#
C#
  public UnderlineType Underline{ get; set; }
Signature
vb.net
vb.net

Public Property Underline() As UnderlineType

...

Example
Code Block
csharp
csharp
titleC#
            //--- Return Underline
          Font.UnderlineType oUnderline = oFont.Underline;

          //--- Set Underline to Double
          oFont.Underline = Font.UnderlineType.Double;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return Underline
          Dim oUnderline As Font.UnderlineType = oFont.Underline

          '--- Set Underline to Double
          oFont.Underline = Font.UnderlineType.Double