_Font.Underline Property
Returns or sets the type of underline applied to the font. Read/write WdUnderline.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property Underline As WdUnderline
Get
Set
'Usage
Dim instance As _Font
Dim value As WdUnderline
value = instance.Underline
instance.Underline = value
WdUnderline Underline { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdUnderline
Remarks
WdUnderline can be one of the following constants:
wdUnderlineDashHeavy
wdUnderlineDashLongHeavy
wdUnderlineDotDashHeavy
wdUnderlineDotDotDashHeavy
wdUnderlineDottedHeavy
wdUnderlineNone
wdUnderlineThick
wdUnderlineWavyDouble
wdUnderlineWords
wdUnderlineDash
wdUnderlineDashLong
wdUnderlineDotDash
wdUnderlineDotDotDash
wdUnderlineDotted
wdUnderlineDouble
wdUnderlineSingle
wdUnderlineWavy
wdUnderlineWavyHeavy