MonobjcMonobjc Documented Class Library
PDFOperationWithViewInsideRectToData Method (aView, rect, data)
NamespacesMonobjc.AppKitNSPrintOperationPDFOperationWithViewInsideRectToData(NSView, NSRect, NSMutableData)

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

Original signature is '+ (NSPrintOperation *)PDFOperationWithView:(NSView *)aView insideRect:(NSRect)rect toData:(NSMutableData *)data'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSPrintOperation PDFOperationWithViewInsideRectToData(
	NSView aView,
	NSRect rect,
	NSMutableData data
)
Public Shared Function PDFOperationWithViewInsideRectToData ( _
	aView As NSView, _
	rect As NSRect, _
	data As NSMutableData _
) As NSPrintOperation
public:
static NSPrintOperation^ PDFOperationWithViewInsideRectToData(
	NSView^ aView, 
	NSRect rect, 
	NSMutableData^ data
)
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.
data (NSMutableData)
An empty NSMutableData object. After the job is run, this object contains 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)