Extract the number of frames from the image data.
Namespace: TallComponents.PDF.Layout.ShapesAssembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.66.0
Syntax
| C# |
|---|
public static int GetFrameCount( Stream stream ) |
| Visual Basic |
|---|
Public Shared Function GetFrameCount ( _ stream As Stream _ ) As Integer |
Parameters
- stream
- Type: System.IO..::..Stream
A stream containing an image file.
Remarks
The stream may be closed when the method completes and it is no longer needed.
It is the responsibility of the client to close the stream.