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

ImageFitMode Enumeration

Contains values specifying how to handle situations when the image is not fit at its placeholder at the page.

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

Syntax

Visual Basic
Public Enumeration ImageFitMode
C#
public enum ImageFitMode

Members

Member name Description
CropToFit

Crops the image. The crop area is centered.

ResizeToFit

Resizes the image to have the same size as a placeholder for this image at the page (preserving the aspect ratio though). The image is resized even if it is smaller than the placeholder.

ShrinkToFit

Resizes the image to have the same size as a placeholder for this image at the page (preserving the aspect ratio though) only if the image is larger than the placeholder. If the image is smaller, it is not changed.

ResizeToFill

Resizes the image so that it fills the whole placeholder, even if the resulting image is larger than the placeholder. The aspect ratio is preserved.

See Also

Reference