MonoMac.CoreGraphics.CGPDFDictionary.Apply Method
Iterates over all the elements in the dictionary, invoking the provided callback method for each element.

Syntax

public void Apply (Action<string, object> callback)

Parameters

callback
The method or lambda to be invoked for each element in the dictionary.

Remarks

This method is used to iterate over all of the elements in the dictionary without having to know the names of the keys in the dictionary.

The callback is invoked with the name of the dictionary key and an boxed object. The type of the boxed object in the callback is one of: null value, boolean, int, float, string, CGPDFArray, CGPDFDictionary or CGPDFStream.

Requirements

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