Contents

PMPaperGetID(_:_:)

Obtains the identifier of a paper object.

Declaration

func PMPaperGetID(_ paper: PMPaper, _ paperID: UnsafeMutablePointer<Unmanaged<CFString>?>) -> OSStatus

Parameters

  • paper:

    The paper whose identifier you want to obtain.

  • paperID:

    A pointer to your Cfstring variable. On return, the variable refers to a Core Foundation string containing the unique identifier for this paper. You should not release the string without first retaining it.

Return Value

A result code. See Result Codes.

See Also

Accessing Data in Paper Objects