THPDFCustomStreamFilterRequest
向自定义流过滤器提供不可变的调用上下文
声明
THPDFCustomStreamFilterRequest = record
FilterName: AnsiString;
FilterIndex: Integer;
PipelineDepth: Integer;
InputBytes: Int64;
MaxOutputBytes: Int64;
CancellationToken: THPDFCancellationToken;
end;
参数
FilterName 是解码后的 PDF 名称,FilterIndex 从零开始,PipelineDepth 标识嵌套解码的深度
大小不可用时 InputBytes 为零,MaxOutputBytes 是剩余的聚合额度,为零表示不限
返回值
此记录不返回值
使用说明
- Treat every field as read only
- 取消令牌是借用的,仅在回调期间有效
- 即使过滤器忽略
MaxOutputBytes,管线仍会强制执行输出预算