Draws a Bitmap object.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub DrawImage ( _ bitmap As Bitmap, _ destinationX As Integer, _ destinationY As Integer, _ combine As CombineMode _ )
public void DrawImage( Bitmap bitmap, int destinationX, int destinationY, CombineMode combine )
Type: Aurigma.GraphicsMill.Bitmap
Bitmap object you are going to draw.Type: System.Int32
Horizontal position of left-top corner of the bitmap.Type: System.Int32
Vertical position of left-top corner of the bitmap.All coordinates are measured in units specified with Unit property of the bitmap.
If bitmap has pixel format which is not GDI-compatible (e.g. extended pixel formats, CMYK, etc) method will automatically create a copy converted to the Format32bppArgb. That's why you always get it drawn, but if you are going to call this method multiple times, it is recommended to convert it to some GDI-compatible format (like Format32bppArgb) to increase the performance.