Retrieves the number of image pages in a multiple page PDF, TIFF or DCX file.
Visual Basic |
---|
Public Function NumPages( _ ByVal FileName As String _ ) As Long |
- FileName
- The file name being examined for number of pages.
Returns the number of image pages in a multiple page PDF, TIFF or DCX file.
If an error occurs NumPages returns zero and the ImagError is set with the resulting error.
NumPages only works on local and remote files and does not work on ftp or http addresses.