Class LayerMode
Layering modes for merging documents
Inheritance
Namespace: IronPdf
Assembly: IronPdf.dll
Syntax
public sealed class LayerMode : Enum
The LayerMode enumeration in IronPDF declares whether merged content sits above or below the existing page.
Part of the IronPdf namespace, the two members are Background and Foreground. The value drives stamping, watermark, and merge operations: Background paints under existing text and is the typical pick for letterheads, while Foreground overlays elements such as draft stamps or page numbers.
See the backgrounds and foregrounds guide for examples.
Fields
Background
Layer the target document behind the destination document
Declaration
public const LayerMode Background
Field Value
| Type | Description |
|---|---|
| LayerMode |
Foreground
Layer the target document on top of the destination document
Declaration
public const LayerMode Foreground
Field Value
| Type | Description |
|---|---|
| LayerMode |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |