Table of Contents

Method SetName

Namespace
PdfSharp.Pdf
Assembly
PdfSharp.dll

SetName(string, string)

Sets a PDF name at the specified key. If the value doesn’t start with a slash, it is added automatically, but starting with PDFsharp version 6.3 a warning is logged.

public void SetName(string key, string value)

Parameters

key string
value string

SetName<T>(string, T)

public void SetName<T>(string key, T value) where T : Enum

Parameters

key string
value T

Type Parameters

T