Autorization

Login:
Password:
Remember me on this computer
  Forgot your password?
  Register

Subscribe

Modify subscription
VersyPDF API Reference
ContentsIndexHome
PreviousUpNext
Cos Dictionary Object

A dictionary object is an associative table containing pairs of objects, known as the dictionary’s entries. The first element of each entry is the key and the second element is the value. The key must be a name (unlike dictionary keys in Post-Script, which may be objects of any type). The value can be any kind of object, including another dictionary. A dictionary entry whose value is null is equivalent to an absent entry.

 
Name 
Description 
 
Sets the value of a dictionary key, adding the key to the dictionary. This method can also be used with a stream object. In that case, the key-value pair is added to the stream's attributes dictionary. 
 
Clears and gets free all keys and values from the dictionary or stream. 
 
Gets the number of key-value pair in the dictionary. This method can also be used with a stream object. In that case, returns number the key-value pair from the stream's attributes dictionary. 
 
Removes and gets free a key-value pair from a dictionary. This method can also be used with a stream object. In that case, the key-value pair is removed from the stream's attributes dictionary. 
 
Gets the value of the specified key in the specified dictionary. If it's called with a stream object instead of a dictionary object, this method gets the value of the specified key from the stream's attributes dictionary. 
 
Gets the key-value pair in the dictionary. This method can also be used with a stream object. In that case, returns the key-value pair from the stream's attributes dictionary. 
 
Creates a new dictionary. 
Copyright (c) 2004 - 2006. All rights reserved.
What do you think about this topic? Send feedback!
Copyright ©2004 - 2006 Sybrex Systems Ltd. All Rights Reserved.