DictionaryEditor.Add
Add(string, ICosPdfPrimitive)
Set ICosPdfPrimitive to dictionary.
public void Add(string key, ICosPdfPrimitive value)
| Parameter | Type | Description |
|---|
| key | String | Key. |
| value | ICosPdfPrimitive | Value. |
Exceptions
| exception | condition |
|---|
| ArgumentException | Throw exception if key/value can’t be edited or removed. |
See Also
Add(KeyValuePair<string, ICosPdfPrimitive>)
Set ICosPdfPrimitive to dictionary.
public void Add(KeyValuePair<string, ICosPdfPrimitive> item)
| Parameter | Type | Description |
|---|
| item | KeyValuePair`2 | The pair with a key and a value. |
Exceptions
| exception | condition |
|---|
| ArgumentException | Throw exception if key/value can’t be edited or removed. |
See Also