GetImagePageCountFromString

Image handling, Miscellaneous functions

Descrição

Retorna o número de páginas nos dados de imagem fornecidos A maioria das imagens tem 1 página, mas imagens TIFF podem conter várias páginas

Sintaxe

Delphi

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

DLL

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

Parâmetros

SourceA string containing the image data. In the ActiveX version of the library this string must contain 16-bit characters, only the lower 8-bits of each character will be used.

Return values

0The image data is invalid
Non-zeroThe number of pages in the image