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

Crop.Rectangle Property

Gets/sets cropping rectangle.

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


Visual Basic
Public Property Rectangle As RectangleF
public RectangleF Rectangle { get; set; }

Property Value

Cropping rectangle. Can intersect the bitmap only partially. In this case pixels which are outside of the bitmap are filled with BackgroundColor. This feature is also known as "outer crop".


By default this rectangle has zero width and height. That's why it is necessary to always initialize this property before applying crop.

See Also