Draws a Bitmap object.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub DrawImage ( _ bitmap As Bitmap, _ destinationX As Single, _ destinationY As Single, _ combine As CombineMode _ )
public void DrawImage( Bitmap bitmap, float destinationX, float destinationY, CombineMode combine )
Type: Aurigma.GraphicsMill.Bitmap
Bitmap object you are going to draw.Type: System.Single
Horizontal position of left-top corner of the bitmap.Type: System.Single
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.