Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetTrapped
Sets the trapped key of the document.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetTrapped"; PDF; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Value | 1 or 0 to enable or disable. | 1 |
Result
Returns OK or error.
Description
Sets the trapped key of the document.Trapping is a technique to avoid unwanted visual artifacts such as brightly colored gaps or bands around the edges of printed objects. In high- quality reproduction of color documents, such artifacts are commonly avoided by creating an overlap, called a trap, between areas of adjacent color.
The trapped key determines whether the document was trapped. The default value is unknown that means no value is written to the file. The trapped key should be set if possible.
See also SetTrapped function in DynaPDF manual.
See also
- DynaPDF.GetInIsTrapped
- DynaPDF.GetTabLen
- DynaPDF.GetTrapped
- DynaPDF.New
- DynaPDF.SetCMapDir
- DynaPDF.SetTabLen
This function checks for a license.
Created 6th February 2015, last changed 6th February 2015