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 | 指定图像中的页面数量 |