Leadtools.Codecs Namespace > RasterCodecs Class > GetTotalPages Method : GetTotalPages(Stream) Method |
'Usage Dim instance As RasterCodecs Dim stream As Stream Dim value As Integer value = instance.GetTotalPages(stream)
-(unsigned int)getTotalPages:(LTLeadStream*)stream error:(NSError**)outError;
public int getTotalPages(ILeadStream stream)
function Leadtools.Codecs.RasterCodecs.GetTotalPages(Stream)( stream )
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(Stream stream, int pageNumber).