PMPaperGetMargins(_:_:)
Obtains the margins describing the unprintable area of the sheet represented by a paper object.
Declaration
func PMPaperGetMargins(_ paper: PMPaper, _ paperMargins: UnsafeMutablePointer<PMPaperMargins>) -> OSStatusParameters
- paper:
The paper whose margins you want to obtain.
- paperMargins:
A pointer to your Pmpapermargins structure. On return, the structure contains the unprintable margins of the specified paper, in points. The four values in the structure specify the top, left, bottom, and right imageable area margins of the paper.
Return Value
A result code. See Result Codes.