Contents

dataWithEPS(inside:)

Returns EPS data that draws the region of the view within a specified rectangle.

Declaration

func dataWithEPS(inside rect: NSRect) -> Data

Parameters

  • rect:

    A rectangle defining the region.

Discussion

This data can be placed on an NSPasteboard object, written to a file, or used to create an NSImage object.

See Also

Printing the View’s Content