Class BorderValues
Represents the various options for a border style.
Inheritance
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 |