DynaPDF.GetUseTransparency
--------------------------

The property specifies whether images should get a transparent background.

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

MBS( "DynaPDF.GetUseTransparency"; PDF ) 

**MBS**( **"DynaPDF.GetUseTransparency";** /\* The property specifies whether images should get a transparent background. \*/  
**$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 current state (0 or 1) or error.

### Description

The property specifies whether images should get a transparent background.   
If 1, the transparent color (see [DynaPDF.SetTransparentColor](DynaPDFSetTransparentColor.md) is used to mask an image. The property has no effect for JPEG compressed images.  
The default value is 1 (true).  
See also [GetUseTransparency](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetUseTransparency.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.GetDocUsesTransparency](DynaPDFGetDocUsesTransparency.md)
- [DynaPDF.GetUsesTransparency](DynaPDFGetUsesTransparency.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetTransparentColor](DynaPDFSetTransparentColor.md)
- [DynaPDF.SetUseTransparency](DynaPDFSetUseTransparency.md)

This function checks for a license.

Created 18th August 2014 , last changed 27th May 2017

  
[DynaPDF.GetUseSystemFonts](DynaPDFGetUseSystemFonts.md) - [DynaPDF.GetUseVisibleCoords](DynaPDFGetUseVisibleCoords.md)

[HTML Version](DynaPDFGetUseTransparency.shtml)