Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

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}{signature:
}
Signature
vb.net
vb.net
Public Property Underline() As UnderlineType
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

Format

menu

>

Font...

>

Font

tab

>

Underline

style:

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

Example
Code Block
csharp
csharp
titleC#


          //--- Return Underline
          Font.UnderlineType oUnderline = oFont.Underline;

          //--- Set Underline to Double
          oFont.Underline = Font.UnderlineType.Double;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return Underline
          Dim oUnderline As Font.UnderlineType = oFont.Underline

          '--- Set Underline to Double
          oFont.Underline = Font.UnderlineType.Double
        
{code} {example}