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: 255.255.255.255

Syntax

public Rect ReframingArea { get; set; }
'Declaration
Public Property ReframingArea As Rect
    Get
    Set
public:
virtual property Rect ReframingArea {
    Rect get () sealed;
    void set (Rect value) sealed;
}
function get_ReframingArea();
function set_ReframingArea(value);

Property Value

Type: Rect

Remarks

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.

Version Information

Lumia Imaging SDK

Supported in: 2.0

See Also

ReframingFilter Class

ReframingFilter.ReframingFilter Members

Lumia.Imaging.Transforms Namespace