[]
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 WriteableBitmap.
public void ExportFragment(WriteableBitmap writeableBitmap, ImageRect srcRect)
| Type | Name | Description |
|---|---|---|
| WriteableBitmap | writeableBitmap | The destination WriteableBitmap. |
| ImageRect | srcRect | The source rectangle within the image. |