Creates and returns a new NSPrintOperation object ready to control the copying of EPS graphics from the specified view and write the resulting data to the specified file.
Original signature is '+ (NSPrintOperation *)EPSOperationWithView:(NSView *)aView insideRect:(NSRect)rect toPath:(NSString *)path printInfo:(NSPrintInfo *)aPrintInfo'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSPrintOperation EPSOperationWithViewInsideRectToPathPrintInfo( NSView aView, NSRect rect, NSString path, NSPrintInfo aPrintInfo )
Public Shared Function EPSOperationWithViewInsideRectToPathPrintInfo ( _ aView As NSView, _ rect As NSRect, _ path As NSString, _ aPrintInfo As NSPrintInfo _ ) As NSPrintOperation
public: static NSPrintOperation^ EPSOperationWithViewInsideRectToPathPrintInfo( NSView^ aView, NSRect rect, NSString^ path, NSPrintInfo^ aPrintInfo )
Parameters
- aView (NSView)
- The view containing the data to be turned into EPS data.
- rect (NSRect)
- The portion of the view (specified in points in the view's coordinate space) to be rendered as EPS data.
- path (NSString)
- The path to a file. After the job is run, this file contains the EPS data.
- aPrintInfo (NSPrintInfo)
- The print settings to use when generating the EPS data.
Return Value
The new NSPrintOperation object. You must run the operation to generate the EPS data.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)