Dict

Ancestor type: IProperty

This type represents a dictionary in PDF document. It hold keys (String) and values. Each key is corresponding to one value. Keys are strings, values can be of any type, either simple types (int, bool, float, string) or complex types (Dict, Array)

Add property with given name to this dictionary
Add string property with given name to this dictionary
Add integer property with given name to this dictionary
Get Dict/Array property recursively Will take the name as slash-separated list of childs to traverse to get to target property, going through Dicts and Arrays. Any references on the way are automatically dereferenced
Return number of properties held in this dictionary
Delete property with given name from this dictionary
Check for existence of property with given name in this dictionary. If it exists, returns true
Return string representation of this dictionary
Get property with given name from this dictionary
Get property with given name from this dictionary. If the property does not exist, add it to the dictionary with given defValue (as Int) and return it
Get property with given name from this dictionary. If the property does not exist, add it to the dictionary with given defValue (as String) and return it
Return array containing names of all properties