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指定影像的頁數