[]
Copies a fragment of the image to a unmanaged block of memory.
public int ExportFragment(IntPtr dstPtr, ImageRect srcRect)
Type | Name | Description |
---|---|---|
IntPtr | dstPtr | The pointer to a unmanaged block of memory or IntPtr.Zero. |
ImageRect | srcRect | The source rectangle within the image. |
Type | Description |
---|---|
int | Returns the number of bytes in the requested fragment of the image. |
Copies a fragment of the image to the given System.Drawing.Bitmap.
public void ExportFragment(Bitmap gdiBitmap, ImageRect srcRect)
Type | Name | Description |
---|---|---|
Bitmap | gdiBitmap | The destination System.Drawing.Bitmap. |
ImageRect | srcRect | The source rectangle within the image. |