Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Whether to use transparency color.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.SetUseTransparency"; PDF; Value )   More


Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
Value Whether to use transparency. Can be 0 to 1. 1


Returns OK on success or error.


Whether to use transparency color.
The property specifies whether images should be masked with the current transparent color to make this color transparent, see also DynaPDF.SetTransparentColor(). This technique is known as color key masking.
The default transparent color is white. Please note that the color is changed to the appropriate value when changing the color space.
Alpha based transparency can be applied with an extended graphics state that must be active before inserting an image. See CreateExtGState for further information.
Default value = 1 (true)

Requires DynaPDF Lite license.

See also SetUseTransparency function in DynaPDF manual.


Don't try to apply transparency by key color:

MBS( "DynaPDF.SetUseTransparency"; $PDF; 0 )

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 21st June 2021

DynaPDF.SetUseSystemFonts - DynaPDF.SetUseVisibleCoords

💬 Ask a question or report a problem