Documents for PDF .NET Edition
GrapeCity.Documents.Common.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcWicBitmap Class / Import Method / Import(IntPtr,Int32,Int32,WicPixelFormat) Method
The pointer to the beginning of the unmanaged block of memory.
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,WicPixelFormat) Method
    In This Topic
    Loads the image from the unmanaged block of memory pointed by IntPtr.
    Syntax
    'Declaration
     
    Public Overloads Sub Import( _
       ByVal srcPtr As System.IntPtr, _
       ByVal width As System.Integer, _
       ByVal height As System.Integer, _
       ByVal pixelFormat As WicPixelFormat _
    ) 
    public void Import( 
       System.IntPtr srcPtr,
       System.int width,
       System.int height,
       WicPixelFormat 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