DictionaryEditor.Add

Add(string, ICosPdfPrimitive)

Set ICosPdfPrimitive to dictionary.

public void Add(string key, ICosPdfPrimitive value)
ParameterTypeDescription
keyStringKey.
valueICosPdfPrimitiveValue.

Exceptions

exceptioncondition
ArgumentExceptionThrow 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)
ParameterTypeDescription
itemKeyValuePair`2The pair with a key and a value.

Exceptions

exceptioncondition
ArgumentExceptionThrow exception if key/value can’t be edited or removed.

See Also