GMImage.GetBoxColor
-------------------

Queries the Text bounding-box base color (default none).

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [2.0](newinversion20.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.GetBoxColor"; ImageRef ) 

**MBS**( **"GMImage.GetBoxColor";** /\* Queries the Text bounding-box base color (default none). \*/  
**$ImageRef**) /\* The image reference number.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |

### Result

Returns a color value as string.

### Description

Queries the Text bounding-box base color (default none).  
### See also

- [GMImage.GetBorderColor](GMImageGetBorderColor.md)
- [GMImage.GetFillColor](GMImageGetFillColor.md)
- [GMImage.GetMatteColor](GMImageGetMatteColor.md)
- [GMImage.GetPixelColor](GMImageGetPixelColor.md)
- [GMImage.GetStrokeColor](GMImageGetStrokeColor.md)
- [GMImage.SetBorderColor](GMImageSetBorderColor.md)
- [GMImage.SetBoxColor](GMImageSetBoxColor.md)
- [GMImage.SetFillColor](GMImageSetFillColor.md)
- [GMImage.SetPixelColor](GMImageSetPixelColor.md)

This function checks for a license.

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

  
[GMImage.GetBorderColor](GMImageGetBorderColor.md) - [GMImage.GetChannelDepth](GMImageGetChannelDepth.md)

[HTML Version](GMImageGetBoxColor.shtml)