PdfCanvasStampOptions
OfficeIMO.Pdf
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.
Returned or exposed by 2
Accepted by parameters 1
- Method PdfDocumentStamper.Content
Constructors
public PdfCanvasStampOptions() #Methods
public PdfCanvasStampOptions UseRenderingOptions(PdfCreateOptions options) #Uses cloned generated-PDF rendering options for visual canvas content.
Parameters
- options OfficeIMO.Pdf.PdfCreateOptions
Returns
PdfCanvasStampOptionspublic PdfCanvasStampOptions UseTargetPages(string selector) #Sets target pages from a rich page-selector expression.
Parameters
- selector string
Returns
PdfCanvasStampOptionsInherited Methods
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.