Initializes a new instance of the UnmanagedImage class.
Namespace: Dynamsoft.DotNet.TWAIN.FiltersAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
| C# |
|---|
public UnmanagedImage( IntPtr imageData, int width, int height, int stride, PixelFormat pixelFormat ) |
| Visual Basic |
|---|
Public Sub New ( _ imageData As IntPtr, _ width As Integer, _ height As Integer, _ stride As Integer, _ pixelFormat As PixelFormat _ ) |
Parameters
- imageData
- Type: System..::..IntPtr
Pointer to image data in unmanaged memory.
- width
- Type: System..::..Int32
Image width in pixels.
- height
- Type: System..::..Int32
Image height in pixels.
- stride
- Type: System..::..Int32
Image stride (line size in bytes).
- pixelFormat
- Type: System.Drawing.Imaging..::..PixelFormat
Image pixel format.