Search Results for

    Show / Hide Table of Contents

    Interface IBorder

    Interface for cell border value

    Namespace: IronXL.Styles
    Assembly: IronXL.dll
    Syntax
    public interface IBorder

    Properties

    Color

    Property that returns border color in rgb format.

    Declaration
    string Color { get; set; }
    Property Value
    Type Description
    System.String

    Type

    Gets or sets the type of the border line. See BorderType

    Declaration
    BorderType Type { get; set; }
    Property Value
    Type Description
    BorderType

    Methods

    SetBorderStyle(Color, BorderType)

    Method for setting border type and color. Default border type is thin.

    Declaration
    void SetBorderStyle(Color color, BorderType type)
    Parameters
    Type Name Description
    IronSoftware.Drawing.Color color

    Color value

    BorderType type

    Border type enum

    SetBorderStyle(String, BorderType)

    Method for setting border type and color. Default border type is thin.

    Declaration
    void SetBorderStyle(string rgb, BorderType type)
    Parameters
    Type Name Description
    System.String rgb

    Color rgb value

    BorderType type

    Border type enum

    SetColor(Color)

    Method for setting border color with Color value

    Declaration
    void SetColor(Color color)
    Parameters
    Type Name Description
    IronSoftware.Drawing.Color color

    Color value

    SetColor(String)

    Method for setting border color with the rgb string.

    Declaration
    void SetColor(string rgb)
    Parameters
    Type Name Description
    System.String rgb

    Color rgb value

    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronXL 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 IronXL free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.