Share via


CGPDFDictionary Class

Definition

Represents a PDF Dictionary.

public class CGPDFDictionary : CoreGraphics.CGPDFObject
type CGPDFDictionary = class
    inherit CGPDFObject
Inheritance
CGPDFDictionary

Remarks

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.

Properties

Name Description
Count

The number of items on this dictionary.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from CGPDFObject)
IsNull (Inherited from CGPDFObject)
Type (Inherited from CGPDFObject)

Methods

Name Description
Apply(Action<String,CGPDFObject>)
Apply(CGPDFDictionary+ApplyCallback, Object)
GetArray(String, CGPDFArray)

Looks up an array value by name on the dictionary.

GetBoolean(String, Boolean)

Looks up a boolean value by name on the dictionary.

GetDictionary(String, CGPDFDictionary)

Looks up a dictionary value by name on the dictionary.

GetFloat(String, NFloat)
GetInt(String, IntPtr)
GetName(String, String)

Looks up a name in the dictionary.

GetStream(String, CGPDFStream)

Looks up a CGPDFStream in the dictionary.

GetString(String, String)

Looks up a string in the dictionary.

TryGetName(String) (Inherited from CGPDFObject)
TryGetValue(Boolean) (Inherited from CGPDFObject)
TryGetValue(CGPDFArray) (Inherited from CGPDFObject)
TryGetValue(CGPDFDictionary) (Inherited from CGPDFObject)
TryGetValue(CGPDFStream) (Inherited from CGPDFObject)
TryGetValue(IntPtr) (Inherited from CGPDFObject)
TryGetValue(NFloat) (Inherited from CGPDFObject)
TryGetValue(String) (Inherited from CGPDFObject)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to