ComponentOne Bitmap for WinForms
C1.Win.Bitmap.4.8 Assembly / C1.Win.Bitmap Namespace / C1Bitmap Class / ImportAsFragment Method / ImportAsFragment(IntPtr,ImageRect) Method
The pointer to the beginning of the unmanaged block of memory.
The destination rectangle within the target bitmap.

In This Topic
    ImportAsFragment(IntPtr,ImageRect) Method
    In This Topic
    Copies the unmanaged block of memory to the given destination within the image.
    Syntax
    'Declaration
     
    Public Overloads Sub ImportAsFragment( _
       ByVal srcPtr As System.IntPtr, _
       ByVal dstRect As ImageRect _
    ) 
    public void ImportAsFragment( 
       System.IntPtr srcPtr,
       ImageRect dstRect
    )

    Parameters

    srcPtr
    The pointer to the beginning of the unmanaged block of memory.
    dstRect
    The destination rectangle within the target bitmap.
    See Also