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