GetImagePageCountFromString

影像處理、其他函式

Description

傳回所提供影像資料的頁數。大多數影像只有 1 頁,TIFF 影像可能含多頁

語法

Delphi

Function TPDFlib.GetImagePageCountFromString(Const Source: AnsiString): Integer;

DLL

int DLGetImagePageCountFromString(int InstanceID, const char * Source);

參數

Source字串,內含影像資料。程式庫的 ActiveX 版本中,此字串必須是 16 位元字元,且只會使用每個字元的低 8 位元。

傳回值

0影像資料無效
Non-zero影像的頁數