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

Combiner.SourceRectangle Property

Gets/sets the source rectangle.

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

Syntax

Visual Basic
Public Property SourceRectangle As RectangleF
C#
public RectangleF SourceRectangle { get; set; }

Property Value

Source rectangle.

Remarks

During combining, algorithm will take pixels from rectangular area of source bitmap defined with this property. If this rectangle is empty (both width and heights are zero), entire bitmap is used. If only one dimension is zero, it is calculated automatically to preserve aspect ratio of the source 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

Reference