Enum ImageFit

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

How an image is scaled into the area of an image page (see Fit).

public enum ImageFit

Fields

Contain = 0

Scale up or down, keeping the aspect ratio, until the image just fits the area.

ShrinkToFit = 1

Keep the image at its own size (from its resolution), scaling it down only if it is larger than the area.