MonobjcMonobjc Documented Class Library
GetBoxRect Method (page, box)
NamespacesMonobjc.ApplicationServicesCGPDFPageGetBoxRect(IntPtr, CGPDFBox)

Returns the rectangle that represents a type of box for a content region or page dimensions of a PDF page.

Original signature is 'CGRect CGPDFPageGetBoxRect ( CGPDFPageRef page, CGPDFBox box );'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CGRect GetBoxRect(
	IntPtr page,
	CGPDFBox box
)
Public Shared Function GetBoxRect ( _
	page As IntPtr, _
	box As CGPDFBox _
) As CGRect
public:
static CGRect GetBoxRect(
	IntPtr page, 
	CGPDFBox box
)
Parameters
page (IntPtr)
MISSING
box (CGPDFBox)
MISSING
Return Value
Returns the rectangle associated with the type of box specified by the box parameter in the specified page.
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)