MonobjcMonobjc Documented Class Library
PDFOperationWithViewInsideRectToDataPrintInfo Method (aView, rect, data, aPrintInfo)
NamespacesMonobjc.AppKitNSPrintOperationPDFOperationWithViewInsideRectToDataPrintInfo(NSView, NSRect, NSMutableData, NSPrintInfo)

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

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

Available in Mac OS X v10.0 and later.

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