Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

GetTotalPages(Uri) Method








The Uri containing the image data.
Gets the number of pages of an image URI.
Syntax
public int GetTotalPages( 
   Uri uri
)
'Declaration
 
Public Overloads Function GetTotalPages( _
   ByVal uri As Uri _
) As Integer
'Usage
 
Dim instance As RasterCodecs
Dim uri As Uri
Dim value As Integer
 
value = instance.GetTotalPages(uri)
public int GetTotalPages( 
   Uri uri
)
 function Leadtools.Codecs.RasterCodecs.GetTotalPages(Uri)( 
   uri 
)
public:
int GetTotalPages( 
   Uri^ uri
) 

Parameters

uri
The Uri containing the image data.

Return Value

Number of pages in the specified file.
Remarks

GetInformation and GetFormat use GetInformation internally. So, if more information about the image is required, it is recommended to call GetInformation directly and obtain the data once.

Example

For an example, refer to Load(Uri uri, int pageNumber).

Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List

Error processing SSI file