Initializes a new instance of the UnmanagedImage class.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public UnmanagedImage(
	BitmapData bitmapData
)

Parameters

bitmapData
Type: System.Drawing.Imaging..::.BitmapData
Locked bitmap data.

Remarks

Note:Unlike FromManagedImage(BitmapData) method, this constructor does not make copy of managed image. This means that managed image must stay locked for the time of using the instance of unamanged image.

See Also