Document Solutions for PDF
GrapeCity.Documents.Imaging.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcWicBitmap Class / ExportFragment Method / ExportFragment(IntPtr,Rectangle) Method
The pointer to the unmanaged block of memory or IntPtr.Zero.
The source rectangle within the image.

In This Topic
    ExportFragment(IntPtr,Rectangle) Method
    In This Topic
    Copies a fragment of the image to the unmanaged block of memory.
    Syntax
    'Declaration
     
    Public Overloads Function ExportFragment( _
       ByVal dstPtr As System.IntPtr, _
       ByVal srcRect As System.Drawing.Rectangle _
    ) As System.Integer
    public System.int ExportFragment( 
       System.IntPtr dstPtr,
       System.Drawing.Rectangle srcRect
    )

    Parameters

    dstPtr
    The pointer to the unmanaged block of memory or IntPtr.Zero.
    srcRect
    The source rectangle within the image.

    Return Value

    Returns the number of bytes in the requested fragment of the image.
    See Also