GetPicturePageCount

<< Click to Display Table of Contents >>

Navigation:  Picture Functions >

GetPicturePageCount

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 files are supported.

method long VPE.GetPicturePageCount(

string FileName

)

string FileName

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 = Doc.GetPicturePageCount("test.tif")

 

See also:

"Pictures" in the Programmer's Manual