Search Results for

    Show / Hide Table of Contents

    Class BorderValues

    Represents the various options for a border style.

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

    Choose the line style a border draws with BorderValues, set on BorderStyle.BorderValue. None and Nil draw no border, Single is the plain solid line most documents use, and Double, Triple, and Thick add weight. Patterned options include Dotted, Dashed, DotDash, and Wave, plus a wide range of compound thick-thin variants such as ThickThinSmallGap and ThinThickLargeGap for finer rules. The add table how-to covers borders on cells and tables.

    borderStyle.BorderValue = BorderValues.Single;

    Fields

    DashDotStroked

    A line border with a dashed line with dots over it.

    Declaration
    public const BorderValues DashDotStroked
    Field Value
    Type Description
    BorderValues

    Dashed

    A line border with dashes along its length.

    Declaration
    public const BorderValues Dashed
    Field Value
    Type Description
    BorderValues

    DashSmallGap

    A line border with dashes and small gaps between them.

    Declaration
    public const BorderValues DashSmallGap
    Field Value
    Type Description
    BorderValues

    DotDash

    A line border with a dot, dash, and dot pattern.

    Declaration
    public const BorderValues DotDash
    Field Value
    Type Description
    BorderValues

    DotDotDash

    A line border with a dot, dot, dash pattern.

    Declaration
    public const BorderValues DotDotDash
    Field Value
    Type Description
    BorderValues

    Dotted

    A line border with small dots along its length.

    Declaration
    public const BorderValues Dotted
    Field Value
    Type Description
    BorderValues

    Double

    A double line border with a small gap between the lines.

    Declaration
    public const BorderValues Double
    Field Value
    Type Description
    BorderValues

    DoubleWave

    A double line border with a wavy pattern.

    Declaration
    public const BorderValues DoubleWave
    Field Value
    Type Description
    BorderValues

    Nil

    No border specified.

    Declaration
    public const BorderValues Nil
    Field Value
    Type Description
    BorderValues

    None

    No actual border drawn, but space is reserved for a border.

    Declaration
    public const BorderValues None
    Field Value
    Type Description
    BorderValues

    Single

    A single, solid line border.

    Declaration
    public const BorderValues Single
    Field Value
    Type Description
    BorderValues

    Thick

    A thicker, solid line border.

    Declaration
    public const BorderValues Thick
    Field Value
    Type Description
    BorderValues

    ThickThinLargeGap

    A line border with alternating thick and thin sections, with a large gap between each section.

    Declaration
    public const BorderValues ThickThinLargeGap
    Field Value
    Type Description
    BorderValues

    ThickThinMediumGap

    A line border with alternating thick and thin sections, with a medium gap between each section.

    Declaration
    public const BorderValues ThickThinMediumGap
    Field Value
    Type Description
    BorderValues

    ThickThinSmallGap

    A line border with alternating thick and thin sections, with a small gap between each section.

    Declaration
    public const BorderValues ThickThinSmallGap
    Field Value
    Type Description
    BorderValues

    ThinThickLargeGap

    A line border with alternating thin and thick sections, with a large gap between each section.

    Declaration
    public const BorderValues ThinThickLargeGap
    Field Value
    Type Description
    BorderValues

    ThinThickMediumGap

    A line border with alternating thin and thick sections, with a medium gap between each section.

    Declaration
    public const BorderValues ThinThickMediumGap
    Field Value
    Type Description
    BorderValues

    ThinThickSmallGap

    A line border with alternating thin and thick sections, with a small gap between each section.

    Declaration
    public const BorderValues ThinThickSmallGap
    Field Value
    Type Description
    BorderValues

    ThinThickThinLargeGap

    A line border with alternating thin, thick, and thin sections, with a large gap between each section.

    Declaration
    public const BorderValues ThinThickThinLargeGap
    Field Value
    Type Description
    BorderValues

    ThinThickThinMediumGap

    A line border with alternating thin, thick, and thin sections, with a medium gap between each section.

    Declaration
    public const BorderValues ThinThickThinMediumGap
    Field Value
    Type Description
    BorderValues

    ThinThickThinSmallGap

    A line border with alternating thin, thick, and thin sections, with a small gap between each section.

    Declaration
    public const BorderValues ThinThickThinSmallGap
    Field Value
    Type Description
    BorderValues

    ThreeDEmboss

    A 3D embossed border.

    Declaration
    public const BorderValues ThreeDEmboss
    Field Value
    Type Description
    BorderValues

    ThreeDEngrave

    A 3D engraved border.

    Declaration
    public const BorderValues ThreeDEngrave
    Field Value
    Type Description
    BorderValues

    Triple

    A triple line border with two small gaps between the lines.

    Declaration
    public const BorderValues Triple
    Field Value
    Type Description
    BorderValues

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32

    Wave

    A line border with a wavy pattern.

    Declaration
    public const BorderValues Wave
    Field Value
    Type Description
    BorderValues
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    %s requires a valid license key for further deployment. Get Trial Below.
    ironsuite
    Blue key in circleGet Started for Free
    30 days full access • No credit card required
    Test in a live environment

    Test in production without watermarks.
    Works wherever you need it to.

    Fully-functional product

    Get 30 days of fully functional product.
    Have it up and running in minutes.

    24/5 technical support

    Full access to our support engineering team during your product trial

    Grey key in circleGet Started for Free
    The trial form was submitted successfully.
    Grey check in circleTrial key delivered
    Your key has been issued and sent to your email.
    Calendar in circleBook Free Live Demo
    No cards • no pitches • no commitments Pick a time for a quick, personalized demo
    Get the most out of your 30-day trial with:

    Live product and key features walk-through

    Project-specific recommendations

    All your questions answered

    Grey key in circleBook Free Live Demo
    Your booking has been completed Check your e-mail for confirmation

    Want to deploy Iron Suite
    to a live project for FREE?

    What’s included?

    • Test in production without watermarks
    • 30 days fully functional product
    • 24/5 technical support during trial
    ironpdf Logo
    ironword Logo
    ironxl Logo
    ironppt Logo
    ironocr Logo
    ironbarcode Logo
    ironqr Logo
    ironprint Logo
    ironzip Logo
    ironwebscraper Logo
    Iron Software sales team
    Online 24/5
    Have Enterprise licensing requirements?
    Request Iron Suite Enterprise trial
    Key in blue circle

    Get your free 30-day Trial Key instantly

    Your trial license will be sent to your email address

    No limitations. 100% unlocked. No credit card.

    bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
    Or
    Key in blue circle

    Complete Your Trial Key Signup

    Tell us a little more about yourself.

    Key in blue circleNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
    Key in blue circle

    Your license key has been delivered to your inbox

    Can't find it? Check your spam folder.

    What’s next?
    Install with NuGet
    Add IronWord to your project
    Quickstart Guide
    Helpful resources to get started

    Need help getting started?

    Book a Free Live Demo

    See IronWord in action and get your licensing questions answered, or

    Key in blue circle

    Your demo request is in.

    You'll receive an invite via email shortly.

    What’s next?
    Explore Documentation
    Review Licensing Options
    badge_greencheck_in_yellowcircle
    Thank you
    Your trial key should be in the email.
    If it is not, please contact support@ironsoftware.com
    • Logo Aetna
    • Logo NASA
    • Logo GE
    • Logo Porsche
    • Logo USDA
    • Logo Qatar
    Join Millions of Engineers who’ve tried IronWord
    Your trial key should be in the email.
    If it is not, please contact support@ironsoftware.com