Questions tagged [cgpdfdictionaryref]
9 questions
4
votes
1 answer
compare two CGPDFDictionary
Is the a way to compare two CGPDFDictionaries?
There is a function memcmp, but it doesn't work for me, because dictionaries are in different memory cells.

Koteg
- 497
- 7
- 16
2
votes
2 answers
How does this CGPDFDictionaryGetString translate into Monotouch?
I have a piece of ObjC code from the great VFR PDF Viewer on GIT.
It is using CGPDFDictionaryGetString to get a pointer to a string from a PDF annotation. Then it uses some byte pointer conversion to get the final string.
In Monotouch there is no…

Krumelur
- 32,180
- 27
- 124
- 263
2
votes
1 answer
How to iterate over CGPDFDictionary using Monotouch?
I'm using this code to get the contents of a PDF:
var oDoc = new CGPDFDocument.FromFile("./test.pdf");
var oCat = oDoc.GetCatalog();
But how do I know iterate the catalog? All methods want a "key" but I don't know how to get the root key or the…

Krumelur
- 32,180
- 27
- 124
- 263
2
votes
1 answer
MonoTouch native crash calling CGPDFDictionary.GetArray
here are the 5 lines trying to get informations about some random PDF:
MonoTouch.CoreGraphics.CGPDFDocument oDoc =…

Dilettanto
- 35
- 5
2
votes
1 answer
iPhone: How do I get the title of a PDF document from within the document?
Assuming I have extracted the CGPDFDictionaryRef from a PDF document using the iPhone SDK, how do I get the document's title from the dictionary? More generally, how can I get a list of the keywords for that dictionary? In theory I could ask the…

Amagrammer
- 6,385
- 3
- 28
- 30
1
vote
2 answers
EDIT CGPDFObject of the pdf
i try long time to parse a pdf file with quartz cgpdf api, but my question is true that CGPDF API can't edit the object saved in the pdf?
it mean the api used just only for reading file?

franck
- 33
- 4
0
votes
1 answer
How to get CGPDFDictionary Keys
There is a question about using Swift to get the dictionary keys from a PDF file here:
How to get CGPDFDictionaryRef keys
An answer has been given, which is just one line of code, but I don't see how it fits with the original code in the question.…

benwiggy
- 1,440
- 17
- 35
0
votes
2 answers
How can I retain CGPDFDictionaryRef?
Any ideas how to "retain" CGPDFDictionaryRef? CFRetain not working, but there must be way to "retain" it.

RolandasR
- 3,030
- 2
- 25
- 26
0
votes
1 answer
Reading exact text from the "Tj/TJ" operator of CGPDFDictionaryRef
I am trying to read text from the "Tj/TJ" operator of CGPDFDictionary, but the TJ/Tj operator has the text in (encoded) format for e.g,
Tj = <00><1F><05>. Now i want to get this exact text in NSString i.e NSString should contain "<00><1F><05>".I…

Ash_B
- 393
- 1
- 3
- 8