# PdfFormFieldBorderStyle

Border style used by generated AcroForm field dictionaries and appearance streams.

Enum 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfFormFieldBorderStyle.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFormFieldBorderStyle.cs#L6)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Border style used by generated AcroForm field dictionaries and appearance streams.

## Inheritance

- Enum
- PdfFormFieldBorderStyle

## Usage

Explore 6 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 6

- Field [PdfFormFieldBorderStyle.Beveled](/api/pdf/officeimo-pdf-pdfformfieldborderstyle/#field-beveled)
- Field [PdfFormFieldBorderStyle.Dashed](/api/pdf/officeimo-pdf-pdfformfieldborderstyle/#field-dashed)
- Field [PdfFormFieldBorderStyle.Inset](/api/pdf/officeimo-pdf-pdfformfieldborderstyle/#field-inset)
- Field [PdfFormFieldBorderStyle.Solid](/api/pdf/officeimo-pdf-pdfformfieldborderstyle/#field-solid)
- Field [PdfFormFieldBorderStyle.Underline](/api/pdf/officeimo-pdf-pdfformfieldborderstyle/#field-underline)
- Property [PdfFormFieldStyle.BorderStyle](/api/pdf/officeimo-pdf-pdfformfieldstyle/#property-borderstyle)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from Enum

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

`public override string ToString()` [#](#method-tostring)

Inherited from Enum

Returns

`string`

`public string ToString(string? format)` [#](#method-tostring-string)

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const PdfFormFieldBorderStyle Solid` [#](#field-solid)

[PdfFormFieldBorderStyle.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFormFieldBorderStyle.cs#L8)

Solid rectangular or circular field border.

Value: `0`

`public const PdfFormFieldBorderStyle Dashed` [#](#field-dashed)

[PdfFormFieldBorderStyle.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFormFieldBorderStyle.cs#L11)

Dashed field border. Uses [PdfFormFieldStyle.BorderDashPattern](/api/pdf/officeimo-pdf-pdfformfieldstyle/) when provided.

Value: `1`

`public const PdfFormFieldBorderStyle Underline` [#](#field-underline)

[PdfFormFieldBorderStyle.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFormFieldBorderStyle.cs#L14)

Underline border drawn along the lower edge of the field rectangle.

Value: `2`

`public const PdfFormFieldBorderStyle Beveled` [#](#field-beveled)

[PdfFormFieldBorderStyle.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFormFieldBorderStyle.cs#L17)

Beveled border with highlighted top and left edges.

Value: `3`

`public const PdfFormFieldBorderStyle Inset` [#](#field-inset)

[PdfFormFieldBorderStyle.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFormFieldBorderStyle.cs#L20)

Inset border with shadowed top and left edges.

Value: `4`

<!-- PowerForge markdown artifact sha256:9E1753B0C7B9319A39C798D0AC44696ED0191C7C09192E79C7F3FB32569E07C5 -->
