Search Results for

    Show / Hide Table of Contents

    Class UnderlineValues

    Inheritance
    System.Object
    UnderlineValues
    Namespace: IronWord.Models.Enums
    Assembly: IronWord.dll
    Syntax
    public sealed class UnderlineValues : Enum

    Pick the underline line style applied beneath a run of text by setting an UnderlineValues member, assigned to Underline.LineValue or passed to the Underline constructor. Single is the everyday single rule and None removes underlining. Double and Thick add weight, Dotted and Dash give broken lines, Wave draws a wavy rule, and Words underlines words but not the spaces between them. The styling text in Word walkthrough covers run formatting.

    var underline = new Underline(UnderlineValues.Single);

    Fields

    Dash

    Dashed Underline.

    Declaration
    public const UnderlineValues Dash
    Field Value
    Type Description
    UnderlineValues

    DashDotDotHeavy

    Thick Dash-Dot-Dot Underline.

    Declaration
    public const UnderlineValues DashDotDotHeavy
    Field Value
    Type Description
    UnderlineValues

    DashDotHeavy

    Thick Dash-Dot Underline.

    Declaration
    public const UnderlineValues DashDotHeavy
    Field Value
    Type Description
    UnderlineValues

    DashedHeavy

    Thick Dashed Underline.

    Declaration
    public const UnderlineValues DashedHeavy
    Field Value
    Type Description
    UnderlineValues

    DashLong

    Long Dashed Underline.

    Declaration
    public const UnderlineValues DashLong
    Field Value
    Type Description
    UnderlineValues

    DashLongHeavy

    Thick Long Dashed Underline.

    Declaration
    public const UnderlineValues DashLongHeavy
    Field Value
    Type Description
    UnderlineValues

    DotDash

    Dash-Dot Underline.

    Declaration
    public const UnderlineValues DotDash
    Field Value
    Type Description
    UnderlineValues

    DotDotDash

    Dash-Dot-Dot Underline.

    Declaration
    public const UnderlineValues DotDotDash
    Field Value
    Type Description
    UnderlineValues

    Dotted

    Dotted Underline.

    Declaration
    public const UnderlineValues Dotted
    Field Value
    Type Description
    UnderlineValues

    DottedHeavy

    Thick Dotted Underline.

    Declaration
    public const UnderlineValues DottedHeavy
    Field Value
    Type Description
    UnderlineValues

    Double

    Double Underline.

    Declaration
    public const UnderlineValues Double
    Field Value
    Type Description
    UnderlineValues

    None

    No Underline.

    Declaration
    public const UnderlineValues None
    Field Value
    Type Description
    UnderlineValues

    Single

    Single Underline.

    Declaration
    public const UnderlineValues Single
    Field Value
    Type Description
    UnderlineValues

    Thick

    Thick Underline.

    Declaration
    public const UnderlineValues Thick
    Field Value
    Type Description
    UnderlineValues

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32

    Wave

    Wave Underline.

    Declaration
    public const UnderlineValues Wave
    Field Value
    Type Description
    UnderlineValues

    WavyDouble

    Double Wave Underline.

    Declaration
    public const UnderlineValues WavyDouble
    Field Value
    Type Description
    UnderlineValues

    WavyHeavy

    Heavy Wave Underline.

    Declaration
    public const UnderlineValues WavyHeavy
    Field Value
    Type Description
    UnderlineValues

    Words

    Underline Non-Space Characters Only.

    Declaration
    public const UnderlineValues Words
    Field Value
    Type Description
    UnderlineValues
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet