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)
void add(string name,IProperty ip)
Add property with given name to this dictionary
void add(string name,string ip)
Add string property with given name to this dictionary
void add(string name,int ip)
Add integer property with given name to this dictionary
CObject child(string name)
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
void delProperty(string name)
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
CObject property(string name)
Get property with given name from this dictionary
CObject propertyDef(string name,int defValue)
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
CObject propertyDef(string name,string defValue)
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