Accusoft.ImagXpress13.Net
NumPages Method




An imagXpress workspace instance.
A string which represents the filename.
Returns the number of image pages from the given multiple page PDF, TIFF or DCX file.
Syntax
'Declaration
 
Public Shared Function NumPages( _
   ByVal imagXpress As ImagXpress, _
   ByVal fileName As String _
) As Integer
'Usage
 
Dim imagXpress As ImagXpress
Dim fileName As String
Dim value As Integer
 
value = ImageX.NumPages(imagXpress, fileName)
public static int NumPages( 
   ImagXpress imagXpress,
   string fileName
)
public: static int NumPages( 
   ImagXpress* imagXpress,
   string* fileName
) 
public:
static int NumPages( 
   ImagXpress^ imagXpress,
   String^ fileName
) 

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.

Note: PDF support is deprecated in ImagXpress, please use PDF Xpress instead for PDF support.

See Also

Reference

ImageX Class
ImageX Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback