Contents

print(with:autoRotate:)

Prints the document with the specified printer information.

Declaration

func print(with printInfo: NSPrintInfo, autoRotate doRotate: Bool)

Discussion

If autoRotate is set to true, then ths method ignores the orientation attribute in the NSPrintInfo object and instead chooses the orientation that best fits the page to the paper size. This orientation occurs on a page-by-page basis.

See Also

Rendering the View and Printing