---
title: "Bitmap..::.Draw Method (Bitmap, Int32, Int32, CombineMode)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Bitmap_Draw_4_335ea9fd.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Bitmap.Draw Method (Bitmap, Int32, Int32, CombineMode)
 
Draws current bitmap on another bitmap.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub Draw ( _destinationBitmap As Bitmap, _destinationX As Integer, _destinationY As Integer, _combine As CombineMode _
)
```
 
```csharp
public void Draw(Bitmap destinationBitmap,int destinationX,int destinationY,CombineMode combine
)
```
 
### Parameters
 
 - destinationBitmap
     - Type: [Aurigma.GraphicsMill.Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
Target (destination) bitmap (on which current bitmap should be drawn).

 - destinationX
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Horizontal position of left-top corner of the destination rectangle.

 - destinationY
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Vertical position of left-top corner of the destination rectangle.

 - combine
     - Type: [Aurigma.GraphicsMill.Transforms.CombineMode](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_CombineMode.htm.md)
Algorithm of images blending (plain pixels copying, alpha blending, bitwise operations, etc).
 
## Remarks
  
Bitmap is drawn to destination rectangle on the target bitmap with destination dimensions equal to the dimensions of the source bitmap.
 
**Note** 
If pixel formats of bitmaps are different, the method may fail (for some pairs of pixel formats). So it is recommended to make sure that current bitmap pixel format is compatible with target bitmap (or, ideally, the same).
 
All coordinates are measured in units specified with [Unit](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_UnitConverterObject_Unit.htm.md) property of the source bitmap.
   
## See Also

### Reference

- [Bitmap Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md)
- [Draw Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Bitmap_Draw.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)

### Manual

- [Combine Modes](https://www.graphicsmill.com/docs/gm5/CombineModes.htm.md)
- [Overlaying Images](https://www.graphicsmill.com/docs/gm5/OverlayingImages.htm.md)
