Import(IntPtr,Int32,Int32,PixelFormat) Method
In This Topic
Loads the image from a unmanaged block of memory pointed by IntPtr.
Syntax
'Declaration
Public Overloads Sub Import( _
ByVal As System.IntPtr, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As PixelFormat _
)
public void Import(
System.IntPtr ,
System.int ,
System.int ,
PixelFormat
)
Parameters
- srcPtr
- The pointer to the beginning of the unmanaged block of memory.
- width
- The width of the image, in pixels.
- height
- The height of the image, in pixels.
- pixelFormat
- The pixel format of the image.
See Also