Count

Content stream editing

Description

Returns how many instructions the program holds after the last parse or edit

Syntax

Delphi

Function TPDFContentProgram.Count: Integer;

Return values

The number of instructions in the list

Remarks

Instruction indexes are zero-based, running from 0 to one less than the returned value; InsertFromSource also accepts the count itself as the append position

See also

Delete, EmitRange, InsertFromSource, TPDFContentProgram