XpsDecoderGetFrameCount Method |
Returns the number of frames in the image
Namespace:
Atalasoft.Imaging.Codec
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public override int GetFrameCount(
Stream stream
)
Public Overrides Function GetFrameCount (
stream As Stream
) As Integer
Parameters
- stream
- Type: System.IOStream
The input Stream.
Return Value
Type:
Int32
The number of frames in the image
Exceptions Exception | Condition |
---|
ArgumentNullException | stream |
ArgumentException | The stream does not have read access.;stream |
See Also