Crop.Apply Method (Bitmap, Rectangle)

Produces a cropped copy of a given bitmap. The source bitmap remains unchanged.

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

Syntax

C#
public static Bitmap Apply(
	Bitmap source,
	Rectangle rect
)

Parameters

source

Type: Aurigma.GraphicsMill.Bitmap

A Bitmap to crop.
rect

Type: System.Drawing.Rectangle

The cropping rectangle.

Return Value

A new Bitmap containing the result of crop transformation.

See Also

Reference