Gets the number of pages in a stream.
public int GetTotalPages(
Stream stream
)
Public Overloads Function GetTotalPages( _
ByVal stream As Stream _
) As Integer
public int GetTotalPages(
Stream stream
)
- (NSInteger)totalPagesInStream:(LTLeadStream *)stream error:(NSError **)error
public int getTotalPages(ILeadStream stream)
function Leadtools.Codecs.RasterCodecs.GetTotalPages(Stream)(
stream
)
public:
int GetTotalPages(
Stream^ stream
)
stream
A Stream containing the image data to query.
Number of pages in the specified 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).
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET