Item
內容串流編輯
描述
傳回程式中指定零起算索引上的指令
語法
Delphi
Property TPDFContentProgram.Item[Index: Integer]: TPDFContentInstruction Read GetItem; Default;參數
| Index | 要取得的指令索引(零起算) |
|---|
傳回值
Index 位置上的 TPDFContentInstruction;Index 超出範圍時傳回 nil
備註
Item 是 TPDFContentProgram 的預設屬性,所以 Program[I] 與 Program.Item[I] 讀到的是同一條指令;有效索引範圍是 0 到 Count - 1