Item

Content stream editing

Description

Returns the instruction at one zero-based index of the program

Syntax

Delphi

Property TPDFContentProgram.Item[Index: Integer]: TPDFContentInstruction Read GetItem; Default;

Parameters

IndexZero-based index of the instruction to return

Return values

The TPDFContentInstruction at Index, or nil when Index is out of range

Remarks

Item is the default property of TPDFContentProgram, so Program[I] reads the same instruction as Program.Item[I]; valid indexes run from 0 to Count - 1

See also

Count, SetOperand, OperandText, TPDFContentProgram