Method SetCustomName
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
SetCustomName(string, string?)
Adds custom key-name pair to this file specification.
[Obsolete("This method will be removed in the next release of the library. Use the Relationship property instead.")]
public void SetCustomName(string key, string? name)
Parameters
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.