Click or drag to resize

SystemDrawingImageProxyExtensionsGetImage(Stream, Boolean) Method

Gets a Gdi image from a stream.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Image GetImage(
	Stream stream,
	bool disposeStream = true
)

Parameters

stream  Stream
The stream to read from.
disposeStream  Boolean  (Optional)
if set to true, the stream is disposed after reading the image; otherwise, the caller is responsible for disposing of the stream.

Return Value

Image

[Missing <returns> documentation for "M:Altaxo.Graph.Gdi.SystemDrawingImageProxyExtensions.GetImage(System.IO.Stream,System.Boolean)"]

Exceptions
ExceptionCondition
ArgumentNullExceptionstream
See Also