SaveImageListItemDataToFileA

影像處理

描述

結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 SaveImageListItemDataToFile 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀

把影像清單項目的影像資料存成磁碟上的檔案

語法

Delphi

Function DLSaveImageListItemDataToFileA(InstanceID, ImageListID, ImageIndex, Options: Integer; ImageFileName: PAnsiChar): Integer;

DLL

int DLSaveImageListItemDataToFileA(int InstanceID, int ImageListID, int ImageIndex, int Options, const char * ImageFileName);

參數

ImageListID由 GetPageImageList 函式傳回的值 影像在清單中的索引。第一張影像的索引為 1。
ImageIndex
Options保留供日後使用,應設為 0
ImageFileName要建立的檔案路徑與檔名

傳回值

0無法儲存影像資料
1影像資料儲存成功