Search Results for

    Show / Hide Table of Contents

    Class Underline

    Represents the underline formatting applied to text in a Word document.

    Inheritance
    System.Object
    Underline
    Namespace: IronWord.Models
    Assembly: IronWord.dll
    Syntax
    public class Underline : Object

    Constructors

    Underline()

    Initializes a new instance of the Underline class with default values.

    Declaration
    public Underline()

    Underline(UnderlineValues, Color, Color, Int32, Double)

    Initializes a new instance of the Underline class with the specified parameters.

    Declaration
    public Underline(UnderlineValues val, Color color, Color themeColor, int themeShade, double themeTint)
    Parameters
    Type Name Description
    UnderlineValues val

    The style of the underline.

    Color color

    The color of the underline.

    Color themeColor

    The theme color of the underline.

    System.Int32 themeShade

    The shade of the theme color used for the underline.

    System.Double themeTint

    The tint of the theme color used for the underline.

    Properties

    Color

    Gets or sets the color of the underline.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Color

    LineValue

    Gets or sets the style of the underline.

    Declaration
    public Nullable<UnderlineValues> LineValue { get; set; }
    Property Value
    Type Description
    System.Nullable<UnderlineValues>

    ThemeColor

    Gets or sets the theme color of the underline.

    Declaration
    public Color ThemeColor { get; set; }
    Property Value
    Type Description
    Color

    ThemeShade

    Gets or sets the shade of the theme color used for the underline.

    Declaration
    public Nullable<int> ThemeShade { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    ThemeTint

    Gets or sets the tint of the theme color used for the underline.

    Declaration
    public Nullable<double> ThemeTint { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Methods

    Clone()

    Creates a copy of this Underline object.

    Declaration
    public Underline Clone()
    Returns
    Type Description
    Underline

    A new Underline object with the same property values.

    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronWord to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronWord free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.