ClearImage
图像处理
描述
清除指定图像
为防止损坏指向图像的现有链接,不会从文档中删除该图像。图像将转换为由一个透明像素组成的 24 位 RGB 格式
语法
Delphi
Function TPDFlib.ClearImage(ImageID: Integer): Integer;
ActiveX
Function PDFlib::ClearImage(ImageID As Long) As Long
DLL
int DLClearImage(int InstanceID, int ImageID);
参数
| ImageID | 要清除的图像的 ImageID |
|---|
返回值
| 0 | 指定的 ImageID 无效 |
|---|---|
| 1 | 图像已清除 |