[]
Copies a fragment of the image to the specified GcBitmap object.
public void ExportFragment(GcBitmap dstBitmap, int xDst, int yDst, Rectangle srcRect)
Public Sub ExportFragment(dstBitmap As GcBitmap, xDst As Integer, yDst As Integer, srcRect As Rectangle)
Type | Name | Description |
---|---|---|
GcBitmap | dstBitmap | The destination GcBitmap object. |
int | xDst | The x-coordinate, in pixels, of the upper-left corner of the destination rectangle. |
int | yDst | The y-coordinate, in pixels, of the upper-left corner of the destination rectangle. |
Rectangle | srcRect | The source rectangle within the image. |
Copies a fragment of the image to the unmanaged block of memory.
public int ExportFragment(IntPtr dstPtr, Rectangle srcRect)
Public Function ExportFragment(dstPtr As IntPtr, srcRect As Rectangle) As Integer
Type | Name | Description |
---|---|---|
IntPtr | dstPtr | The pointer to the unmanaged block of memory or IntPtr.Zero. |
Rectangle | srcRect | The source rectangle within the image. |
Type | Description |
---|---|
int | Returns the number of bytes in the requested fragment of the image. |