IHPDFContentOperatorVisitor
Receives synchronous begin-stream, operator, and end-stream callbacks
Declaration
IHPDFContentOperatorVisitor = interface
procedure VisitContentOperator(
var EventData: THPDFContentOperatorEventData);
end;
Parameters
EventData contains the phase, source location, state snapshot, read-only operand view, requested action, and optional replacement bytes
Return value
This method does not return a value; set EventData.Action to control traversal
Usage notes
- The caller retains the interface for the duration of traversal
- The view inside
EventDatais borrowed and valid only during the callback - Do not retain document objects or re-enter transformation on the same document from the callback
- Exceptions become
covsVisitorError, except operation cancellation which propagates unchanged