FindImages

图像处理、文档属性

描述

在页面资源字典、嵌套表单、注释外观和图案资源中搜索嵌入的图像 XObject

可通过图像的 /Alternates 数组访问的替代图像会注册到基础图像,因此 GetAlternateImageInfo 能返回可用的图像句柄

需要绘制位置和每页出现次数时,请使用 GetPageImageList

此函数返回找到的图像数量

语法

Delphi

Function TPDFlib.FindImages: Integer;

ActiveX

Function PDFlib::FindImages() As Long

DLL

int DLFindImages(int InstanceID);

返回值

0未找到图像
1-n 找到的图像数量