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

TransformsProvider.Crop Method (RectangleF)

Crops the image using specified rectangle (which is not obligatory totally inside the bitmap).

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

Syntax

Visual Basic
Public Sub Crop ( _
	rect As RectangleF _
)
C#
public void Crop(
	RectangleF rect
)

Parameters

rect

Type: System.Drawing.RectangleF

Cropping rectangle.

Remarks

You can also use Crop class to crop the image.

See Also

Reference