VpeGetPicturePageCount

<< Click to Display Table of Contents >>

Navigation:  Picture Functions >

VpeGetPicturePageCount

Previous pageReturn to chapter overviewNext page

[Enhanced Edition and above]

Retrieves the number of available pages stored in the specified image file. At present only multipage TIFF and GIF files are supported.

long VpeGetPicturePageCount(

VpeHandle hDoc,

LPCSTR file_name

)

VpeHandle hDoc

Document Handle

LPCSTR file_name

image file to check for the number of available pages

Returns:

the number of available pages stored in the specified image file

Remarks:

In case of an error, LastError is set.

Example:

n = VpeGetPicturePageCount(hDoc, "test.tif")

 

See Also:

"Pictures" in the Programmer's Manual