Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfImageImportOptions

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Options for creating one PDF page per source image.

Inheritance

  • object
  • PdfImageImportOptions

Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 4

Constructors

public PdfImageImportOptions() #

Properties

public bool FailOnLoss { get; set; } #

Rejects fidelity loss before returning PDF or writing its destination.

public long MaximumEncodedImageBytes { get; set; } #

Maximum encoded bytes accepted from each image source. Defaults to 128 MiB.

public PdfPageSize? FixedPageSize { get; set; } #

Optional fixed paper size. When omitted, each page uses the image physical dimensions derived from its DPI. Images without usable dimensions fall back to PdfImageImportOptions.FallbackPageSize.

public PdfPageSize FallbackPageSize { get; set; } #

Fallback paper size for an image whose physical dimensions cannot be determined.

public bool AutoOrientPage { get; set; } #

Automatically rotates a fixed or fallback paper size to match the image orientation.

public OfficeLength Margin { get; set; } #

Uniform physical page margin.

public OfficeImageFit Fit { get; set; } #

How each image is fitted into the printable page rectangle.

public OfficeLength MaximumPageDimension { get; set; } #

Maximum physical page width or height.