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