ImageTask(Stream, NullableImageFormat, Boolean, ImageUltimateConfiguration) Constructor

Initializes a new instance of the ImageTask class from the specified image stream.

Definition

Namespace: GleamTech.ImageUltimate
Assembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 6.2.0
C#
public ImageTask(
	Stream imageStream,
	ImageFormat? imageFormat = null,
	bool enableUndo = false,
	ImageUltimateConfiguration configuration = null
)

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.

See Also