Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

PdfPageOverlayFit

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 an imported PDF page Form XObject fits its target rectangle.

Inheritance

  • Enum
  • PdfPageOverlayFit

Usage

Explore 5 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 PdfPageOverlayFit None #

Keep the source page at its visual size.

Value: 0
public const PdfPageOverlayFit Contain #

Preserve aspect ratio and fit entirely inside the target rectangle.

Value: 1
public const PdfPageOverlayFit Cover #

Preserve aspect ratio and cover the target rectangle, clipping overflow.

Value: 2
public const PdfPageOverlayFit Stretch #

Scale independently in both dimensions to fill the target rectangle.

Value: 3