API Reference

Enum

PdfPageOverlayFit

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
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

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