A www.Sockets4.NET class library

ImageCanvas Constructor (Stream, Boolean)

Initializes a new instance of the Bitmap ImageCanvas from the specified data stream.

public ImageCanvas(
   Stream stream,
   bool useIcm
);

Parameters

stream
The data stream used to load the image.
useIcm
Set to true to use color correction for this ImageCanvas object; otherwise, false.

Remarks

You must keep the stream open for the lifetime of the ImageCanvas object.

See Also

ImageCanvas Class | Sockets4Images Namespace | ImageCanvas Constructor Overload List