C1.Win.Bitmap.4.8 Assembly / C1.Win.Bitmap Namespace / C1Bitmap Class / Import Method / Import(IntPtr,Int32,Int32,Int32,PixelFormat) Method
The pointer to the beginning of the unmanaged block of memory.
The stride (bytes per row) of the source image data.
The width of the image, in pixels.
The height of the image, in pixels.
The pixel format of the image.

In This Topic
Import(IntPtr,Int32,Int32,Int32,PixelFormat) Method
In This Topic
Loads the image from a unmanaged block of memory pointed by IntPtr and having the specified stride (bytes per row of pixels).
Syntax
'Declaration
 
Public Overloads Sub Import( _
   ByVal srcPtr As System.IntPtr, _
   ByVal stride As System.Integer, _
   ByVal width As System.Integer, _
   ByVal height As System.Integer, _
   ByVal pixelFormat As PixelFormat _
) 
 

Parameters

srcPtr
The pointer to the beginning of the unmanaged block of memory.
stride
The stride (bytes per row) of the source image data.
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