Click or drag to resize

AtalaImage Constructor (Stream, Int32, ImageDecoder, ProgressEventHandler)

Initialize a new instance of an AtalaImage class specifying a Stream, ImageDecoder to use for decoding the image, and a progress delegate.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public AtalaImage(
	Stream stream,
	int frameIndex,
	ImageDecoder decoder,
	ProgressEventHandler progress
)

Parameters

stream
Type: System.IOStream
A stream containing the encoded image data.
frameIndex
Type: SystemInt32
If the image contains multiple frames, this is the zero based index to load.
decoder
Type: Atalasoft.Imaging.CodecImageDecoder
The ImageDecoder to use for loading the specified encoded image.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in Visual Basic).
See Also