Leadtools.Codecs Namespace > RasterCodecs Class > GetTotalPages Method : GetTotalPages(Uri) Method |
'Usage Dim instance As RasterCodecs Dim uri As Uri Dim value As Integer value = instance.GetTotalPages(uri)
function Leadtools.Codecs.RasterCodecs.GetTotalPages(Uri)( uri )
GetInformation(String,Boolean) and GetFormat(String) use GetInformation(String,Boolean) internally. So, if more information about the image is required, it is recommended to call GetInformation(String,Boolean) directly and obtain the data once.
For an example, refer to Load(Uri uri, int pageNumber).