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

Crop Constructor (RectangleF, Color)

Creates new Crop class instance. You are specifying cropping rectangle and background color here.

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

Syntax

Visual Basic
Public Sub New ( _
	rect As RectangleF, _
	backgroundColor As Color _
)
C#
public Crop(
	RectangleF rect,
	Color backgroundColor
)

Parameters

rect

Type: System.Drawing.RectangleF

Cropping rectangle. You can change it later through property Rectangle.
backgroundColor

Type: Aurigma.GraphicsMill.Color

Crop background color value. If its color space does not conform pixel format of target bitmap, it is converted to bitmap color space. You can change it later through property BackgroundColor.

See Also

Reference