Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
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)
- (NSInteger)totalPagesInStream:(LTLeadStream *)stream error:(NSError **)error
public int getTotalPages(ILeadStream stream)
function Leadtools.Codecs.RasterCodecs.GetTotalPages(Stream)( stream )
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.
For an example, refer to Load(Stream stream, int pageNumber).