GetTrapped
Document properties, Print production
Description
Reads the document trapping state from the Info dictionary.
Syntax
Delphi
Function TPDFlib.GetTrapped: Integer;Return values
| 0 | Unknown, or the key is absent. |
|---|---|
| 1 | Trapping has been applied. |
| 2 | The document is not trapped. |
Remarks
Producers occasionally write the value as a text string instead of a name; both spellings are reported.