Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Missing Binding for CGPDFDocumentGetInfo
Gets the information dictionary for a PDF document.
CGPDFDictionaryRef CGPDFDocumentGetInfo (
The document whose dictionary you want to obtain.
The information dictionary for the document.
Available in iOS 2.0 and later.
Good catch, it will be added for the next version (but it's too late for 6.2.1).
Let me know if this is blocking you - it's only a few lines of code that you can add in your application.
Fixed in maccore/master: cd577d54f58b290cfa3cb292d619d86ca0aab64b
Unit test added in master: a74322724d1cd3905b24d7842b5c5a31d4b8ef10
Thank you. Tried a couple different ways to pull it out of the PDFstream, no luck. If you have a chance please post the code to call it directly, it would be most helpful.
That's the commit:
Something like this should work in your app:
extern static IntPtr CGPDFDocumentGetInfo (IntPtr handle);
public CGPDFDictionary GetInfo (CGPDFDocument doc)
return new CGPDFDictionary (CGPDFDocumentGetInfo (doc.Handle));