GetTrapped

Document properties, Print production

Description

Reads the document trapping state from the Info dictionary.

Syntax

Delphi

Function TPDFlib.GetTrapped: Integer;

Return values

0Unknown, or the key is absent.
1Trapping has been applied.
2The document is not trapped.

Remarks

Producers occasionally write the value as a text string instead of a name; both spellings are reported.

See also

SetTrapped, GetOutputIntentSubtype