DynaPDF.GetFieldBackColor
-------------------------

The function returns the default background color used for newly created interactive form fields.

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

MBS( "DynaPDF.GetFieldBackColor"; PDF ) 

**MBS**( **"DynaPDF.GetFieldBackColor";** /\* The function returns the default background color used for newly created interactive form fields. \*/  
**$PDF**) /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |

### Result

Returns color as number or error.

### Description

The function returns the default background color used for newly created interactive form fields.   
Note that color values must be defined in the current color space. See [DynaPDF.SetColorSpace](DynaPDFSetColorSpace.md) for further information.  
If the return value is equal NO\_COLOR (4294967281) the border is transparent.  
Default value = 0 for Black.  
See also [GetFieldBackColor](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetFieldBackColor.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.CreateButton](DynaPDFCreateButton.md)
- [DynaPDF.GetFieldBorderColor](DynaPDFGetFieldBorderColor.md)
- [DynaPDF.GetFieldColor](DynaPDFGetFieldColor.md)
- [DynaPDF.GetFieldTextColor](DynaPDFGetFieldTextColor.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetColorSpace](DynaPDFSetColorSpace.md)
- [DynaPDF.SetFieldBackColor](DynaPDFSetFieldBackColor.md)
- [DynaPDF.SetFieldBorderColor](DynaPDFSetFieldBorderColor.md)
- [DynaPDF.SetFieldColor](DynaPDFSetFieldColor.md)
- [DynaPDF.SetFieldTextColor](DynaPDFSetFieldTextColor.md)

This function checks for a license.

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

  
[DynaPDF.GetFieldAsJSON](DynaPDFGetFieldAsJSON.md) - [DynaPDF.GetFieldBorderColor](DynaPDFGetFieldBorderColor.md)

[HTML Version](DynaPDFGetFieldBackColor.shtml)