Method AddNumber
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
AddNumber(string, long)
Adds the specified key and a new integer object to the dictionary.
public void AddNumber(string key, long 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.
AddNumber(string, double)
Adds the specified key and a new real object to the dictionary.
public void AddNumber(string key, double 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.