Documents for PDF .NET Edition
GrapeCity.Documents.Common.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcWicBitmap Class / ImportAsFragment Method / ImportAsFragment(IntPtr,Rectangle) Method
The pointer to the beginning of the unmanaged block of memory.
The destination rectangle within the target bitmap.

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

    Parameters

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