Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public override int GetFrameCount(
	Stream stream
)

Parameters

stream
Type: System.IOStream
The input Stream.

Return Value

Type: Int32
The number of frames in the image
Exceptions
ExceptionCondition
ArgumentNullExceptionstream
ArgumentExceptionThe stream does not have read access.;stream
See Also