PMGetPageFormatPaper(_:_:)
Obtains the paper associated with a page format object.
Declaration
func PMGetPageFormatPaper(_ format: PMPageFormat, _ paper: UnsafeMutablePointer<PMPaper?>) -> OSStatusParameters
- pageFormat:
The page format object whose paper you want to obtain.
- paper:
A pointer to your Pmpaper variable. On return, the variable refers to a paper object that represents the paper associated with the specified page format. You should not release the paper object without first retaining it.
Return Value
A result code. See Result Codes.