Method AddDictionary
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddDictionary(string)
Adds the specified key and a new CosDictionary object to the dictionary.
public CosDictionary AddDictionary(string key)
Parameters
keystringThe key of the element to add.
Returns
- CosDictionary
The added dictionary.
Remarks
The key must not be null and should not start with a
leading slash. Characters in the key should not be escaped. Empty string
(string.Empty) is a valid key.
Exceptions
- ArgumentNullException
The key is
null.- ArgumentException
An element with the same key already exists in the dictionary.