Table of Contents

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

key string

The key of the element to add.

value long

The value of the integer object.

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

key string

The key of the element to add.

value double

The value of the real object.

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.