Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetTransparentColor
Sets the transparent color which is used for newly inserted images.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetTransparentColor"; PDF; ColorValue ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
ColorValue | Color value defined in current color space | MBS("DynaPDF.RGB"; 255; 0; 0) |
Result
Returns OK or error.
Description
Sets the transparent color which is used for newly inserted images.Due to color interpolation during decompression of JPEG images, it not always possible to mask JPEG compressed images correctly.
Default value = 16777215 (RGB White)
See also SetTransparentColor function in DynaPDF manual.
See also
- DynaPDF.GetTransparentColor
- DynaPDF.GetUseTransparency
- DynaPDF.New
- DynaPDF.RGB
- DynaPDF.SetUseTransparency
This function checks for a license.
Created 6th February 2015, last changed 6th February 2015