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 | 影像已清除 |