Table of Contents

Enum ImageFitting

Namespace
Rustaveli.Pdf
Assembly
Rustaveli.Pdf.dll

How an image is scaled into the space allocated to it.

public enum ImageFitting

Fields

FitWidth = 0

Fills the available width, deriving height from the aspect ratio.

FitHeight = 1

Fills the available height, deriving width from the aspect ratio.

Proportionally = 2

Fits entirely within the available area, preserving the aspect ratio.

Stretch = 3

Fills the available area exactly, distorting the image.