MonobjcMonobjc Documented Class Library
PDFOperationWithViewInsideRectToPathPrintInfo Method (aView, rect, path, aPrintInfo)
NamespacesMonobjc.AppKitNSPrintOperationPDFOperationWithViewInsideRectToPathPrintInfo(NSView, NSRect, NSString, NSPrintInfo)

Creates and returns a new NSPrintOperation object ready to control the copying of PDF graphics from the specified view and write the resulting data to the specified file.

Original signature is '+ (NSPrintOperation *)PDFOperationWithView:(NSView *)aView insideRect:(NSRect)rect toPath:(NSString *)path printInfo:(NSPrintInfo *)aPrintInfo'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSPrintOperation PDFOperationWithViewInsideRectToPathPrintInfo(
	NSView aView,
	NSRect rect,
	NSString path,
	NSPrintInfo aPrintInfo
)
Public Shared Function PDFOperationWithViewInsideRectToPathPrintInfo ( _
	aView As NSView, _
	rect As NSRect, _
	path As NSString, _
	aPrintInfo As NSPrintInfo _
) As NSPrintOperation
public:
static NSPrintOperation^ PDFOperationWithViewInsideRectToPathPrintInfo(
	NSView^ aView, 
	NSRect rect, 
	NSString^ path, 
	NSPrintInfo^ aPrintInfo
)
Parameters
aView (NSView)
The view containing the data to be turned into PDF data.
rect (NSRect)
The portion of the view (specified in points in the view's coordinate space) to be rendered as PDF data.
path (NSString)
The path to a file. After the job is run, this file contains the PDF data.
aPrintInfo (NSPrintInfo)
The print settings to use when generating the PDF data.
Return Value
The new NSPrintOperation object. You must run the operation to generate the PDF 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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)