GetImagePageCount
图像处理、杂项函数
描述
返回指定图像文件中的页数。大多数图像由 1 页组成,但 TIFF 图像可包含多页
语法
Delphi
Function TPDFlib.GetImagePageCount(Const FileName: WideString): Integer;
ActiveX
Function PDFlib::GetImagePageCount(FileName As String) As Long
DLL
int DLGetImagePageCount(int InstanceID, const wchar_t * FileName);
参数
| FileName | 要分析的图像文件名称 |
|---|
返回值
| 0 | 图像文件无效或不存在 |
|---|---|
| Non-zero | 指定图像中的页面数量 |