DynaPDF.GetFieldBorderStyle
---------------------------

Returns the border style of a specific form field.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [4.0](newinversion40.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.GetFieldBorderStyle"; PDF; Field ) 

**MBS**( **"DynaPDF.GetFieldBorderStyle";** /\* Returns the border style of a specific form field. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$Field**) /\* The field index or field name.e.g. "FirstName" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |
| Field | The field index or field name. | "FirstName" |

### Result

Returns border style or error.

### Description

Returns the border style of a specific form field.   
It is also possible to change the style of a specific field, see [DynaPDF.SetFieldBorderStyle](DynaPDFSetFieldBorderStyle.md) for further information.  
If the function succeeds the return value is the border style, a value greater or equal zero.   
Value can be Solid, Bevelled, Inset, Underline or Dashed.  
See also [GetFieldBorderStyle](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetFieldBorderStyle.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetBorderStyle](DynaPDFGetBorderStyle.md)
- [DynaPDF.GetFieldBorderColor](DynaPDFGetFieldBorderColor.md)
- [DynaPDF.GetFieldBorderWidth](DynaPDFGetFieldBorderWidth.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetAnnotBorderStyle](DynaPDFSetAnnotBorderStyle.md)
- [DynaPDF.SetBorderStyle](DynaPDFSetBorderStyle.md)
- [DynaPDF.SetFieldBorderColor](DynaPDFSetFieldBorderColor.md)
- [DynaPDF.SetFieldBorderStyle](DynaPDFSetFieldBorderStyle.md)
- [DynaPDF.SetFieldBorderWidth](DynaPDFSetFieldBorderWidth.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[DynaPDF.GetFieldBorderColor](DynaPDFGetFieldBorderColor.md) - [DynaPDF.GetFieldBorderWidth](DynaPDFGetFieldBorderWidth.md)

[HTML Version](DynaPDFGetFieldBorderStyle.shtml)