IHPDFContentOperatorVisitor
Receives synchronous begin-stream, operator, and end-stream callbacks
声明
IHPDFContentOperatorVisitor = interface
procedure VisitContentOperator(
var EventData: THPDFContentOperatorEventData);
end;
参数
EventData 包含阶段、源位置、状态快照、只读的操作数视图、请求的动作以及可选的替换字节
返回值
此方法不返回值;通过设置 EventData.Action 来控制遍历
使用说明
- 遍历期间,调用方需一直持有该接口
EventData内的视图是借用的,仅在回调期间有效- 不要保留文档对象,也不要在回调中对同一文档重入 transformation
- Exceptions become
covsVisitorError, except operation cancellation which propagates unchanged