Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfImageDocumentOptions

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

Options for creating one PDF page per source image.

Inheritance

  • Object
  • PdfImageDocumentOptions

Usage

Explore 1 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 1

Constructors

public PdfImageDocumentOptions() #

Properties

public Int64 MaximumEncodedImageBytes { get; set; } #

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

public PageSize? 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 PdfImageDocumentOptions.FallbackPageSize.

public PageSize FallbackPageSize { get; set; } #

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

public Boolean AutoOrientPage { get; set; } #

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

public Double Margin { get; set; } #

Uniform page margin in points.

public OfficeImageFit Fit { get; set; } #

How each image is fitted into the printable page rectangle.

public Double MaximumPageDimension { get; set; } #

Maximum generated page width or height in points.