GetImagePageCountA
影像處理、其他函式
描述
結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 GetImagePageCount 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀
傳回指定影像檔案的頁數。大多數影像只有 1 頁,TIFF 影像可能含多頁
語法
Delphi
Function DLGetImagePageCountA(InstanceID: Integer; FileName: PAnsiChar): Integer;
DLL
int DLGetImagePageCountA(int InstanceID, const char * FileName);
參數
| FileName | 要分析的影像檔名。 |
|---|
傳回值
| 0 | 影像檔案無效或不存在 |
|---|---|
| Non-zero | 指定影像的頁數 |