This documentation is for the old version. Go to the latest Graphics Mill docs

GdiGraphics.DrawImage Method (Bitmap, PointF, CombineMode)

Draws a Bitmap object.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Sub DrawImage ( _
	bitmap As Bitmap, _
	point As PointF, _
	combine As CombineMode _
)
C#
public void DrawImage(
	Bitmap bitmap,
	PointF point,
	CombineMode combine
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

Bitmap object you are going to draw.
point

Type: System.Drawing.PointF

The point specifying left-top corner of the bitmap.
combine

Type: Aurigma.GraphicsMill.Transforms.CombineMode

Algorithm of images blending (plain pixels copying, alpha blending, bitwise operations, etc).

Remarks

All coordinates are measured in units specified with Unit property of the bitmap.

Note

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.

See Also

Reference

Manual