Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPageOverlayOptions

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Implements
IPdfOperationCancellation
Modifiers
sealed

Controls placement of a source PDF page imported as a Form XObject onto target pages.

Inheritance

  • object
  • PdfPageOverlayOptions

Remarks

The overlay rectangle uses physical points (1/72 inch) in the target page's rotated, crop-normalized frame, with a bottom-left origin after /UserUnit scaling.

Usage

Explore 3 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.

Returned or exposed by 1

Accepted by parameters 2

Constructors

public PdfPageOverlayOptions() #

Methods

public PdfPageOverlayOptions UseTargetPages(string selector) #

Sets the target pages from a rich page-selector expression.

Parameters

selector string required

Properties

public int SourcePageNumber { get; set; } #

One-based page number imported from the source PDF.

public OfficePageSelector? TargetPages { get; set; } #

Optional target-page selector. Null applies the imported page to every target page.

public PdfPageOverlayFit Fit { get; set; } #

How the imported page fits the target rectangle.

public OfficeAlignment HorizontalAlignment { get; set; } #

Horizontal alignment inside the target page or target rectangle.

public PdfVerticalAlign VerticalAlignment { get; set; } #

Vertical alignment inside the target page or target rectangle.

public double? X { get; set; } #

Optional target rectangle X coordinate in physical points in the normalized target-page frame.

public double? Y { get; set; } #

Optional target rectangle Y coordinate in physical points in the normalized target-page frame.

public double? Width { get; set; } #

Optional target rectangle width in physical points in the normalized target-page frame.

public double? Height { get; set; } #

Optional target rectangle height in physical points in the normalized target-page frame.

public double RotationDegrees { get; set; } #

Rotation in degrees around the target rectangle origin, in the normalized target-page frame.

public double Opacity { get; set; } #

Imported page opacity from 0 through 1.

public OfficeBlendMode BlendMode { get; set; } #

Blend operation used when the imported page is composited over existing content.

public bool BehindContent { get; set; } #

Places the imported page before existing page content.

public PdfLoadOptions? SourceReadOptions { get; set; } #

Read options used for the imported source PDF, including its password and permission policy.