THPDFPageDisplayList.GetObject
Copies one indexed paint object without exposing the display list storage array
声明
function GetObject(Index: Integer;
out Item: THPDFDisplayListObject): boolean;
参数
Index 是从零开始的绘制对象索引,Item 接收对象类型、操作符索引、变换后的边界和裁剪标志
返回值
True 对于低于 ObjectCount, otherwise False with a default item
使用说明
- 使用
OperatorIndex配合GetToken,可检查源操作符及其操作数 - 边界以经过操作符变换后的编译页面空间表示
- 返回的记录不会转移页面资源的所有权