Class ImagePageOptions

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll
public sealed class ImagePageOptions
Inheritance
ImagePageOptions
Inherited Members

Properties

AutoRotate

When PageSize is set, whether a landscape image gets a landscape page (and a portrait image a portrait page). Defaults to true.

DefaultResolution

The resolution, in pixels per inch, assumed for images whose file stores none (such as GIF). Defaults to 96.

Fit

How the image is scaled when PageSize is set. Defaults to Contain. The image is centred.

Margin

The blank border around the image on every side, in points. Defaults to 0.

PageSize

The page size. null (the default) makes each page exactly the size of its image at the image's resolution, plus Margin, so a scan at 300 dpi of an A4 sheet becomes an A4 page.