ImageTask(Byte, NullableImageFormat, Boolean, ImageUltimateConfiguration) Constructor
Initializes a new instance of the
ImageTask class from the specified image byte array.
Namespace: GleamTech.ImageUltimateAssembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 6.2.0
public ImageTask(
byte[] imageBytes,
ImageFormat? imageFormat = null,
bool enableUndo = false,
ImageUltimateConfiguration configuration = null
)
Public Sub New (
imageBytes As Byte(),
Optional imageFormat As ImageFormat? = Nothing,
Optional enableUndo As Boolean = false,
Optional configuration As ImageUltimateConfiguration = Nothing
)
Parameters
- imageBytes Byte
- The byte array 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.