THPDFTrappingInfo Record

Reports the document trapped flag, the TrapNet annotation counts and the page trap metadata used for print production checks

Declaration

THPDFTrappingInfo= record
  DocumentTrapped: AnsiString;
  TrapNetAnnotationCount: Integer;
  MalformedTrapNetCount: Integer;
  HasPageTrapMetadata: boolean;
  Diagnostic: AnsiString;
end;

Unit

HPDFDoc

Fields

FieldPurpose
DocumentTrappedContents of the document's /Trapped entry (True, False or Unknown)
TrapNetAnnotationCountHow many TrapNet annotations were found in the page's annotation array
MalformedTrapNetCountTrapNet annotations whose /Rect is missing or does not hold precisely four numbers
HasPageTrapMetadataTrue where the page carries a /PieceInfo dictionary or at least one TrapNet annotation
DiagnosticSummary sentence describing the overall trapping situation that was found

Usage notes

Related APIs