Graphics.DrawImage Method (Bitmap, Point, CombineMode)

Draws the specified Bitmap, using its original physical size, at the specified location.

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

Syntax

C#
public void DrawImage(
	Bitmap bitmap,
	Point point,
	CombineMode combine
)

Parameters

bitmap

Type: Aurigma.GraphicsMill.Bitmap

The Bitmap to draw.
point

Type: System.Drawing.Point

A Point structure that represents the location of the upper-left corner of the drawn image.
combine

Type: Aurigma.GraphicsMill.Transforms.CombineMode

The image blending algorithm (plain pixels copying, alpha blending, bitwise operations, etc.).

Remarks

The bitmap is drawn to the destination rectangle on this Graphics with dimensions equal to the dimensions of the bitmap.

Note

If the 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 the bitmap to some GDI-compatible format (like Format32bppArgb) to increase the performance.

See Also

Reference