Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

DynaPDF.SetUseTransparency

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.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.1 Yes Yes Yes Yes Yes

MBS( "DynaPDF.SetUseTransparency"; PDF; Value )

Parameters

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

Result

Returns OK on success or error.

Description

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.

Examples

Don't try to apply transparency by key color:

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

See also


DynaPDF.SetUseSystemFonts   -   DynaPDF.SetUseVisibleCoords

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins