Search code examples
.netpdfmonoxamarin.ioscgpdfdocument

What is the equivalent of CGPDFDocumentGetCatalog in Monotouch?


I'm trying to get the catalog of a PDF document but I cannot find CGPDFDocumentGetCatalog. Is it unbound or am I just blind?


Solution

  • MonoTouch.CoreGraphics.CGPDFDocument::GetCatalog() is the binding of CGPDFDocumentGetCatalog, see github.

    However I only added this recently so you'll need MonoTouch 4.1 (or more recent) or add p/invoke directly into your code.