DynaPDF.SetBorderStyle
----------------------

Set the global border style which is used for newly created form fields.

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

MBS( "DynaPDF.SetBorderStyle"; PDF; BorderStyle ) 

**MBS**( **"DynaPDF.SetBorderStyle";** /\* Set the global border style which is used for newly created form fields. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$BorderStyle**) /\* The new border style. Can be Solid, Bevelled, Inset, Underline or Dashed.e.g. "Solid" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |
| BorderStyle | The new border style. Can be Solid, Bevelled, Inset, Underline or Dashed. | "Solid" |

### Result

Returns OK or error.

### Description

Set the global border style which is used for newly created form fields.   
It is also possible to change the style of a specific form field, see [DynaPDF.SetFieldBorderStyle](DynaPDFSetFieldBorderStyle.md) for further information.  
See also [SetBorderStyle](https://www.monkeybreadsoftware.com/DynaPDF-Manual/SetBorderStyle.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.CreateComboBox](DynaPDFCreateComboBox.md)
- [DynaPDF.CreateRadioButton](DynaPDFCreateRadioButton.md)
- [DynaPDF.CreateSigField](DynaPDFCreateSigField.md)
- [DynaPDF.CreateURIAction](DynaPDFCreateURIAction.md)
- [DynaPDF.GetBorderStyle](DynaPDFGetBorderStyle.md)
- [DynaPDF.GetFieldBorderStyle](DynaPDFGetFieldBorderStyle.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetAnnotBorderStyle](DynaPDFSetAnnotBorderStyle.md)
- [DynaPDF.SetBookmarkStyle](DynaPDFSetBookmarkStyle.md)
- [DynaPDF.SetFieldBorderStyle](DynaPDFSetFieldBorderStyle.md)

### Example Databases

- [DynaPDF/Create Text as PDFA](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Create%20Text%20as%20PDFA.shtml#3ScriptAnchor_)

### Blog Entries

- [MBS Filemaker Plugin, version 4.2pr5](https://www.mbsplugins.de/archive/2014-05-10/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[DynaPDF.SetBookmarkStyle](DynaPDFSetBookmarkStyle.md) - [DynaPDF.SetCMapDir](DynaPDFSetCMapDir.md)

[HTML Version](DynaPDFSetBorderStyle.shtml)