Contents

beginPage(in:atPlacement:)

Called at the beginning of each page, this method sets up the coordinate system so that a region inside the view’s bounds is translated to a specified location.

Declaration

func beginPage(in rect: NSRect, atPlacement location: NSPoint)

Parameters

  • rect:

    A rectangle defining the region to be translated.

  • location:

    A point that is the end-point of translation.

Discussion

If you override this method, be sure to call the superclass implementation.

See Also

Printing the View’s Content