ReframingFilter.ReframingArea Property

Rectangle describing the position and size of the reframing area.

The coordinates are relative to the current coordinate system, which may be affected by preceding filters.

Namespace: Lumia.Imaging.Transforms
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version:

function get_ReframingArea();
function set_ReframingArea(value);

Property Value

Type: Rect

If the reframing area has a width or height of 0, this filter will not be applied.

When reframing without rotation, width and height must be in the range [0, 16383].

When reframing with rotation, width and height must be in the range [0, X], where X is in the range [5792, 16383] depending on the reframing area and the source image size. An exception will be thrown during rendering if this limit is exceeded.

The ReframingFilter supports reframing to areas larger than the source or outside of source's bounds. Areas outside the original image are rendered as transparent black pixels, ARGB(0, 0, 0, 0).

Default is a 0-size reframing area.

Lumia Imaging SDK

Supported in: 2.0