CropFilter.CropArea Property
Rectangle describing the crop area.
Namespace: Lumia.Imaging.Transforms
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255
Syntax
public Rect CropArea { get; set; }
'Declaration
Public Property CropArea As Rect
Get
Set
public:
virtual property Rect CropArea {
Rect get () sealed;
void set (Rect value) sealed;
}
function get_CropArea();
function set_CropArea(value);
Property Value
Type: Rect
Remarks
The coordinates are relative to the current coordinate system, which may be affected by preceding filters. The crop area can only be within the image area, otherwise ArgumentException will be thrown when applying the filter.
The crop area has to be within the image area, range x: [0, min(16383, image width)] y: [0, min(16383, image height)].
If the crop area has a width or height of 0, this filter will not be applied.
Default is a 0-size crop area.
Version Information
Lumia Imaging SDK
Supported in: 2.0