Method AddBoolean
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddBoolean(string, bool)
Adds the specified key and a new CosBoolean object to the dictionary.
public void AddBoolean(string key, bool 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.
Exceptions
- ArgumentNullException
The key is
null
.- ArgumentException
An element with the same key already exists in the dictionary.