Function

CGPDFObjectGetType

Returns the PDF type identifier of an object.

Declaration

CGPDFObjectType CGPDFObjectGetType(CGPDFObjectRef object);

Parameters

object

A PDF object. If the value if not a PDF object, the behavior is unspecified.

Return Value

Returns the type of the object parameter. See Data Types.

See Also

Getting Object Types and Values

CGPDFObjectGetValue

Returns whether an object is of a given type and if it is, retrieves its value.