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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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
PDF The PDF reference returned from DynaPDF.New. $pdf
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

Created 6th February 2015, last changed 6th February 2015


DynaPDF.SetTransparentColor - DynaPDF.SetUseExactPwd

Feedback: Report problem or ask question.