[]
Loads another C1Bitmap to the given destination within the image.
public void ImportAsFragment(C1Bitmap bitmap, int dstX, int dstY)
Public Sub ImportAsFragment(bitmap As C1Bitmap, dstX As Integer, dstY As Integer)
| Type | Name | Description |
|---|---|---|
| C1Bitmap | bitmap | The source bitmap. |
| int | dstX | The destination X pixel coordinate within the target bitmap. |
| int | dstY | The destination Y pixel coordinate within the target bitmap. |
Loads the pixel buffer from a byte array to the given destination within the image.
public void ImportAsFragment(byte[] bytes, ImageRect dstRect)
Public Sub ImportAsFragment(bytes As Byte(), dstRect As ImageRect)
| Type | Name | Description |
|---|---|---|
| byte[] | bytes | The source byte array with pixel buffer. |
| ImageRect | dstRect | The destination rectangle within the target bitmap. |
Copies the unmanaged block of memory to the given destination within the image.
public void ImportAsFragment(IntPtr srcPtr, ImageRect dstRect)
Public Sub ImportAsFragment(srcPtr As IntPtr, dstRect As ImageRect)
| Type | Name | Description |
|---|---|---|
| IntPtr | srcPtr | The pointer to the beginning of the unmanaged block of memory. |
| ImageRect | dstRect | The destination rectangle within the target bitmap. |
Loads a System.Drawing.Bitmap to the given destination within the image.
public void ImportAsFragment(Bitmap gdiBitmap, int dstX, int dstY)
Public Sub ImportAsFragment(gdiBitmap As Bitmap, dstX As Integer, dstY As Integer)
| Type | Name | Description |
|---|---|---|
| Bitmap | gdiBitmap | The source System.Drawing.Bitmap. |
| int | dstX | The destination X pixel coordinate within the target bitmap. |
| int | dstY | The destination Y pixel coordinate within the target bitmap. |
Loads a fragment of the D2D.Bitmap1 to the given destination within the image.
public void ImportAsFragment(Bitmap1 d2dBitmap, DeviceContext context, RectL srcRect, int dstX, int dstY)
Public Sub ImportAsFragment(d2dBitmap As Bitmap1, context As DeviceContext, srcRect As RectL, dstX As Integer, dstY As Integer)
| Type | Name | Description |
|---|---|---|
| Bitmap1 | d2dBitmap | The source D2D.Bitmap1. |
| DeviceContext | context | The device context used to create a D2D bitmap. |
| RectL | srcRect | The source rectangle within d2dBitmap. |
| int | dstX | The destination X pixel coordinate within the target bitmap. |
| int | dstY | The destination Y pixel coordinate within the target bitmap. |