API Reference
PdfCanvasStampOptions
Controls arbitrary visual canvas content stamped onto existing PDF pages.
Inheritance
- Object
- PdfCanvasStampOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method PdfDocumentStamper.Content
- Method PdfDocumentStamper.Content
- Method PdfDocumentStamper.TryContent
Constructors
public PdfCanvasStampOptions() #Methods
public PdfCanvasStampOptions UseRenderingOptions(PdfOptions options) #PdfCanvasStampOptionsUses cloned generated-PDF rendering options for visual canvas content.
Parameters
- options OfficeIMO.Pdf.PdfOptions
public PdfCanvasStampOptions UseTargetPages(String selector) #PdfCanvasStampOptionsSets target pages from a rich page-selector expression.
Parameters
- selector System.String
Inherited Methods
Properties
public PdfPageSelector TargetPages { get; set; } #Optional target-page selector. Null applies the canvas callback to every page.
public Boolean 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 PdfOptions 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.