Method AddString
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddString(string, string)
Adds the specified key and a new CosString object to the dictionary.
public void AddString(string key, string value)
Parameters
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.
The value must not be null. Characters in the value should
not be escaped. Empty string (string.Empty) is a valid value.
Exceptions
- ArgumentNullException
The key or value is
null.- ArgumentException
An element with the same key already exists in the dictionary.