Accusoft.ImagXpress12.Net
NumPages Method
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > ImageX Class : NumPages Method




imagXpress
An imagXpress workspace instance.
fileName
A string which represents the filename.

Glossary Item Box

Returns the number of image pages from the given multiple page PDF, TIFF or DCX file.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

imagXpress
An imagXpress workspace instance.
fileName
A string which represents the filename.

Return Value

Returns the number of image pages in the given multiple page PDF, TIFF or DCX file starting at 1.

Remarks

If an error occurs, ImagXpress throws an exception message, otherwise it returns this properties value.

Note: Streaming data does not always capture the correct page count and may return -1, thus requesting a page count on streaming data is discouraged.

See Also

©2013. Accusoft Corporation. All Rights Reserved.