Contents

PMGetUnadjustedPageRect(_:_:)

Obtains the imageable area or page rectangle, unaffected by orientation, resolution, or scaling.

Declaration

func PMGetUnadjustedPageRect(_ pageFormat: PMPageFormat, _ pageRect: UnsafeMutablePointer<PMRect>) -> OSStatus

Parameters

  • pageFormat:

    The page format object whose unadjusted page rectangle you want to obtain.

  • pageRect:

    A pointer to your Pmrect data structure. On return, the structure contains the size of the page rectangle, in points. The page rectangle is the area of the page to which an application can draw. The coordinates for the upper-left corner of the page rectangle are (0,0). See Supporting Printing in Your Carbon Application for more information on page and paper rectangles.

Return Value

A result code. See Result Codes.

See Also

Accessing Data in Page Format Objects