THPDFContentOperatorAction Type

Action a visitor assigns to tell the content-operator walker how to deal with the current operator

Declaration

THPDFContentOperatorAction= (
  coaKeep,
  coaDelete,
  coaReplace,
  coaStop,
  coaReject
);

Unit

HPDFContentStream

Values

ValuePurpose
coaKeepCopy the operator span to the output unchanged; this is the default the walker pre-assigns
coaDeleteDrop the operator and its operands from the output
coaReplaceEmit the bytes of THPDFContentOperatorEventData.Replacement instead of the original span
coaStopEnd the walk after the current operator, keeping everything already accepted
coaRejectFail the whole edit pass; the walk reports covsRejected and produces no output

Usage notes

Related APIs