GetGraphicsState
Content stream editing
Description
Traces from ISO page defaults to one zero-based instruction and returns its effective graphics state
Syntax
Delphi
Function TPDFContentProgram.GetGraphicsState(InstructionIndex: Integer; AfterInstruction: Boolean; Out State: TPDFContentGraphicsState): Boolean;Return value
True when InstructionIndex exists, otherwise false
Remarks
Use TraceGraphicsStates when several instruction states are required because it evaluates the program only once