CGPDFDictionaryGetInteger(_:_:_:)
Returns whether there is a PDF integer associated with a specified key in a PDF dictionary and, if so, retrieves that integer.
Declaration
func CGPDFDictionaryGetInteger(_ dict: CGPDFDictionaryRef, _ key: UnsafePointer<CChar>, _ value: UnsafeMutablePointer<CGPDFInteger>?) -> BoolParameters
- dict:
A PDF dictionary. If this parameter is not a valid PDF dictionary, the behavior is undefined.
- key:
The key for the value to retrieve.
- value:
On input, a pointer to a PDF integer. If the value associated with the specified key is a PDF integer, then on return contains that value; otherwise the value is unspecified.
Return Value
Returns true if there is a PDF integer associated with the specified key; otherwise, false.