ExportFragment(IntPtr,Rectangle) Method
Copies a fragment of the image to the unmanaged block of memory.
'Declaration
Public Overloads Function ExportFragment( _
ByVal As System.IntPtr, _
ByVal As System.Drawing.Rectangle _
) As System.Integer
public System.int ExportFragment(
System.IntPtr ,
System.Drawing.Rectangle
)
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.