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

Combiner.DestinationRectangle Property

Gets/sets the destination rectangle.

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


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

Property Value

The source destination.


During combining, algorithm will put pixels to rectangular area of destination bitmap defined with this property. If this rectangle is empty (both width and heights are zero), SourceRectangle dimensions are used. If only one dimension is zero, it is calculated automatically to preserve aspect ratio of the destination bitmap.

When dimensions of SourceRectangle and DestinationRectangle are not coincide each other, algorithm makes a resize (using interpolation algorithm defined with InterpolationMode property).

See Also