GetGraphicsState

内容流编辑

描述

从 ISO 页面默认值跟踪一条从零开始的指令,并返回其有效图形状态

语法

Delphi

Function TPDFContentProgram.GetGraphicsState(InstructionIndex: Integer; AfterInstruction: Boolean; Out State: TPDFContentGraphicsState): Boolean;

返回值

当 InstructionIndex 存在时为 true,否则为 false

备注

当需要多个指令状态时,请使用 TraceGraphicsStates,因为它只会评估程序一次