Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

PdfPageResizeMode

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
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

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.

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