MonobjcMonobjc Documented Class Library
GetDrawingTransform Method (page, box, rect, rotate, preserveAspectRatio)
NamespacesMonobjc.ApplicationServicesCGPDFPageGetDrawingTransform(IntPtr, CGPDFBox, CGRect, Int32, Boolean)

Returns the affine transform that maps a box to a given rectangle on a PDF page.

Original signature is 'CGAffineTransform CGPDFPageGetDrawingTransform ( CGPDFPageRef page, CGPDFBox box, CGRect rect, int rotate, bool preserveAspectRatio );'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CGAffineTransform GetDrawingTransform(
	IntPtr page,
	CGPDFBox box,
	CGRect rect,
	int rotate,
	bool preserveAspectRatio
)
Public Shared Function GetDrawingTransform ( _
	page As IntPtr, _
	box As CGPDFBox, _
	rect As CGRect, _
	rotate As Integer, _
	preserveAspectRatio As Boolean _
) As CGAffineTransform
public:
static CGAffineTransform GetDrawingTransform(
	IntPtr page, 
	CGPDFBox box, 
	CGRect rect, 
	int rotate, 
	bool preserveAspectRatio
)
Parameters
page (IntPtr)
MISSING
box (CGPDFBox)
MISSING
rect (CGRect)
MISSING
rotate (Int32)
MISSING
preserveAspectRatio (Boolean)
MISSING
Return Value
An affine transform that maps the box specified by the box parameter to the rectangle specified by the rect parameter.
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)