MonobjcMonobjc Documented Class Library
GetPage Method (document, pageNumber)
NamespacesMonobjc.ApplicationServicesCGPDFDocumentGetPage(IntPtr, NSUInteger)

Returns a page from a Quartz PDF document.

Original signature is 'CGPDFPageRef CGPDFDocumentGetPage ( CGPDFDocumentRef document, size_t pageNumber );'

Available in Mac OS X version 10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr GetPage(
	IntPtr document,
	NSUInteger pageNumber
)
Public Shared Function GetPage ( _
	document As IntPtr, _
	pageNumber As NSUInteger _
) As IntPtr
public:
static IntPtr GetPage(
	IntPtr document, 
	NSUInteger pageNumber
)
Parameters
document (IntPtr)
MISSING
pageNumber (NSUInteger)
MISSING
Return Value
Return the PDF page corresponding to the specified page number, or NULL if no such page exists in the document. Pages are numbered starting at 1.
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)