Mac Guides | Samples

MonoMac.CoreGraphics.CGPDFDictionary Class

Represents a PDF Dictionary.

See Also: CGPDFDictionary


public class CGPDFDictionary : INativeObject


Dictionaries are used extensively in the PDF file format. Instances of this class represent dictionaries in your documents and the methods in this class can be used to look up the values in the dictionary or iterate over all of the elements of it.


Namespace: MonoMac.CoreGraphics
Assembly: XamMac (in XamMac.dll)
Assembly Versions:

The members of MonoMac.CoreGraphics.CGPDFDictionary are listed below.

See Also: Object

Public Constructors

A constructor used when creating managed representations of unmanaged objects.

Public Properties

CountInt32. The number of items on this dictionary.
HandleIntPtr. Handle (pointer) to the unmanaged object representation.

Public Methods

Apply(Action<string, object>)
Iterates over all the elements in the dictionary, invoking the provided callback method for each element.
GetArray(String, out CGPDFArray) : Boolean
Looks up an array value by name on the dictionary.
GetBoolean(String, out Boolean) : Boolean
Looks up a boolean value by name on the dictionary.
GetDictionary(String, out CGPDFDictionary) : Boolean
Looks up a dictionary value by name on the dictionary.
GetFloat(String, out Single) : Boolean
Looks up a float value by name on the dictionary.
GetInt(String, out Int32) : Boolean
Looks up an integer value by name on the dictionary.
GetName(String, out String) : Boolean
Looks up a name in the dictionary.
GetStream(String, out CGPDFStream) : Boolean
Looks up a CGPDFStream in the dictionary.
GetString(String, out String) : Boolean
Looks up a string in the dictionary.