IRegionReadableReadRegion Method |
Decodes the specified region and returns an AtalaImage object representing the image data.
Namespace:
Atalasoft.Imaging.Codec
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax AtalaImage ReadRegion(
Stream stream,
Rectangle region,
int frameIndex,
ProgressEventHandler progress
)
Function ReadRegion (
stream As Stream,
region As Rectangle,
frameIndex As Integer,
progress As ProgressEventHandler
) As AtalaImage
Parameters
- stream
- Type: System.IOStream
The encoded image stream. - region
- Type: System.DrawingRectangle
The rectangular image to read. - frameIndex
- Type: SystemInt32
The zero based frame index if the image supports multiple frames. - progress
- Type: Atalasoft.ImagingProgressEventHandler
Progress Delegate
Return Value
Type:
AtalaImageSee Also