Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
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 | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 3.1 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| 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.AddButtonImage
- DynaPDF.GetDocUsesTransparency
- DynaPDF.GetUsesTransparency
- DynaPDF.GetUseTransparency
- DynaPDF.InsertImage
- DynaPDF.InsertImageFile
- DynaPDF.New
- DynaPDF.SetSaveNewImageFormat
- DynaPDF.SetTransparentColor
Example Databases
Created 18th August 2014, last changed 9th February 2015
DynaPDF.SetUseSystemFonts - DynaPDF.SetUseVisibleCoords
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins