Table of Contents

Method Add

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

Add(string, PdfItem, bool)

Adds a PdfItem to the given key. Creates a PdfArray containing the items, if needed.

public void Add(string key, PdfItem value, bool prepend = false)

Parameters

key string

The key in the dictionary to work with.

value PdfItem

The PdfItem to add.

prepend bool

True, if value shall be prepended instead of appended.