Returns the number of pages in a PDF document.
Original signature is 'size_t CGPDFDocumentGetNumberOfPages ( CGPDFDocumentRef document );'
Available in Mac OS X version 10.0 and later.

C# | Visual Basic | Visual C++ |
public static NSUInteger GetNumberOfPages( IntPtr document )
Public Shared Function GetNumberOfPages ( _ document As IntPtr _ ) As NSUInteger
public: static NSUInteger GetNumberOfPages( IntPtr document )

- document (IntPtr)
- MISSING

The total number of pages in the PDF document.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)