Click or drag to resize

XpsDecoderRead Method (Stream, Int32, ProgressEventHandler)

Read a given frame in an encoded image using this decoder.

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 AtalaImage Read(
	Stream stream,
	int frameIndex,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
The input Stream.
frameIndex
Type: SystemInt32
The zero based frame index.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in Visual Basic).

Return Value

Type: AtalaImage

[Missing <returns> documentation for "M:Atalasoft.Imaging.Codec.XpsDecoder.Read(System.IO.Stream,System.Int32,Atalasoft.Imaging.ProgressEventHandler)"]

Exceptions
ExceptionCondition
ArgumentNullExceptionstream
ArgumentExceptionThe stream does not have read access.;stream
See Also