ImageTask(Stream, NullableImageFormat, Boolean, ImageUltimateConfiguration) Constructor
Initializes a new instance of the
ImageTask class from the specified image stream.
Namespace: GleamTech.ImageUltimateAssembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 6.2.0
public ImageTask(
Stream imageStream,
ImageFormat? imageFormat = null,
bool enableUndo = false,
ImageUltimateConfiguration configuration = null
)
Public Sub New (
imageStream As Stream,
Optional imageFormat As ImageFormat? = Nothing,
Optional enableUndo As Boolean = false,
Optional configuration As ImageUltimateConfiguration = Nothing
)
Parameters
- imageStream Stream
- The stream containing the image to load.
- imageFormat NullableImageFormat (Optional)
-
The image format if known. When not specified, the format will be detected automatically
via file header.
- enableUndo Boolean (Optional)
-
If you need to use Undo and UndoAll commands,
this parameter should be set to true.
- configuration ImageUltimateConfiguration (Optional)
- The configuration to use instead of the global configuration.