Table of Contents

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

key string

The key of the element to add.

value bool

The value of the boolean 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.