TPDFInstructionRange

内容流编辑

描述

TPDFInstructionRange(单元 Lib\PDFlibContentModel.pas,v3.178.0 新增)是闭区间的指令索引范围 [First..Last],删改引擎用它描述要从某一层删除哪些指令;FindInstructionsInRect 返回的就是这些范围的数组

语法

Delphi

TPDFInstructionRange = Record
  First, Last: Integer;
End;

关键成员

First, Last范围的从零开始的指令索引,含端点

备注

FindInstructionsInRect 返回的范围按 First 升序排列;用 DeleteRange 按降序删除,可保持较早的索引稳定

另请参阅

FindInstructionsInRect、DeleteRange、TPDFContentProgram、ApplyContentFilterChain