Table of Contents

Method SetCustomName

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

SetCustomName(string, string?)

Adds custom key-name pair to this file specification.

public void SetCustomName(string key, string? name)

Parameters

key string

The key part of the pair.

name string

The value (name) part of the pair.

Remarks

This method throws ArgumentException if key is one of the keys defined in PDF Reference for File Specification Dictionaries.

The key must not be null.

Providing null for the name removes existing value for the specified key (if any).

The pair will be stored as /key /name in this file specification dictionary.