InstructionGroup

Content stream editing

Description

Returns the spec grouping of one instruction's operator

Syntax

Delphi

Function TPDFContentProgram.InstructionGroup(Index: Integer): TPDFOpGroup;

Parameters

IndexZero-based index of the instruction to inspect

Return values

The TPDFOpGroup of the instruction's operator, or ogUnknown when the instruction has no operator

Remarks

Group values follow the operator categories of ISO 32000-1, such as ogPathConstruction, ogTextShowing or ogXObject; use FindNextGroup to scan forward for the next instruction of one group

See also

FindNextGroup, FindNextOp, Item, TPDFContentProgram