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
| Source | A 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
| 0 | The image data is invalid |
|---|---|
| Non-zero | The number of pages in the image |