Leadtools.Codecs Namespace > RasterCodecs Class > GetTotalPages Method : GetTotalPages(String) Method |
'Usage Dim instance As RasterCodecs Dim fileName As String Dim value As Integer value = instance.GetTotalPages(fileName)
function Leadtools.Codecs.RasterCodecs.GetTotalPages(String)( fileName )
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(string fileName, int pageNumber).