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)
Syntaxpublic AtalaImage(
Stream stream,
int frameIndex,
ImageDecoder decoder,
ProgressEventHandler progress
)
Public Sub New (
stream As Stream,
frameIndex As Integer,
decoder As ImageDecoder,
progress As ProgressEventHandler
)
Parameters
- stream
- Type: System.IO.Stream
A stream containing the encoded image data. - frameIndex
- Type: System.Int32
If the image contains multiple frames, this is the zero based index to load. - decoder
- Type: Atalasoft.Imaging.Codec.ImageDecoder
The ImageDecoder to use for loading the specified encoded image. - progress
- Type: Atalasoft.Imaging.ProgressEventHandler
The progress delegate. Can be set to null (Nothing in
Visual Basic).
See Also