Delete

Content stream editing

Description

Removes the instruction at one zero-based index from the list

Syntax

Delphi

Procedure TPDFContentProgram.Delete(Index: Integer);

Parameters

IndexZero-based index of the instruction to remove

Remarks

Instructions after the removed one shift up by one position; use DeleteRange to remove several adjacent instructions in one atomic operation

See also

DeleteRange, Count, Clear, TPDFContentProgram