Click or drag to resize
UnderlineType Enumeration
Represents the types of patterns which may be used to create the underline applied beneath the text in a Run.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1243
Syntax
public enum UnderlineType
Members
  Member nameValueDescription
None0 Specifies no underline beneath the run.
Single1 Specifies an underline consisting of a single line beneath all characters in the run.
Double2 Specifies an underline consisting of two lines beneath all characters in the run.
Dotted3 Specifies an underline consisting of a series of dot characters beneath all characters in the run.
Dashed4 Specifies an underline consisting of a dashed line beneath all characters in the run.
DotDash5 Specifies an underline consisting of a series of dot, dash characters beneath all characters in the run.
DotDotDash6 Specifies an underline consisting of a series of dot, dot, dash characters beneath all characters in the run.
Wave7 Specifies an underline consisting of a single wavy line beneath all characters in the run.
DoubleWave8 Specifies an underline consisting of a pair of wavy lines beneath all characters in the run.
UnderlineNonSpaceCharactersOnly9 Specifies an underline consisting of a single line beneath all non-space characters in the run. There shall be no underline beneath any space character (breaking or non-breaking).
Remarks
Values Wave and DoubleWave are currently not supported in PDF, XPS and image file formats.
See Also