Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfCanvasStampOptions

OfficeIMO.Pdf

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

Controls arbitrary visual canvas content stamped onto existing PDF pages.

Inheritance

  • object
  • PdfCanvasStampOptions

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.

Accepted by parameters 1

Constructors

public PdfCanvasStampOptions() #

Methods

public PdfCanvasStampOptions UseRenderingOptions(PdfCreateOptions options) #

Uses cloned generated-PDF rendering options for visual canvas content.

Parameters

options OfficeIMO.Pdf.PdfCreateOptions required
public PdfCanvasStampOptions UseTargetPages(string selector) #

Sets target pages from a rich page-selector expression.

Parameters

selector string required

Properties

public OfficePageSelector? TargetPages { get; set; } #

Optional target-page selector. Null applies the canvas callback to every page.

public bool BehindContent { get; set; } #

Places generated visual content before the existing page content streams.

public double Opacity { get; set; } #

Canvas opacity from zero through one.

public PdfCreateOptions? RenderingOptions { get; set; } #

Generated-PDF rendering options used for the temporary visual overlay. The value is cloned on assignment and retrieval. Page geometry, margins, encryption, page chrome, and page decorations are controlled by the stamping operation. Use this to carry registered embedded fonts, text shaping, image handling, and other visual rendering configuration into canvas content. Tagged structure mode must remain disabled because a visual page import cannot merge the temporary document's structure tree into the target.