PDFsharp-net6

XGraphicsPdfPageOptions

Namespace: PdfSharp.Drawing

Specifies how the content of an existing PDF page and new content is combined.

public enum XGraphicsPdfPageOptions

Inheritance ObjectValueTypeEnumXGraphicsPdfPageOptions
Implements IComparable, IFormattable, IConvertible

Fields

Name Value Description
Append 0 The new content is inserted behind the old content, and any subsequent drawing is done above the existing graphic.
Prepend 1 The new content is inserted before the old content, and any subsequent drawing is done beneath the existing graphic.
Replace 2 The new content entirely replaces the old content, and any subsequent drawing is done on a blank page.