API Reference

Enum

PdfPageResizeMode

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Controls how existing page content is scaled when a PDF page is resized.

Inheritance

  • Enum
  • PdfPageResizeMode

Usage

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

Values

public const PdfPageResizeMode Fit #

Preserve the original aspect ratio and fit the full source page inside the target page.

Value: 0
public const PdfPageResizeMode Fill #

Preserve the original aspect ratio and fill the target page, allowing content to be clipped.

Value: 1
public const PdfPageResizeMode Stretch #

Scale width and height independently so the source page exactly fills the target page.

Value: 2