Questions tagged [cgpdfcontext]
32 questions
0
votes
2 answers
OS X / iOS: How do I create a PDF that can't get printed?
I want to create a PDF document, that can't get printed. I am using the Quartz framework for that. This is what I do (shorted):
PDFDocument *pdfDocument = ...
NSMutableDictionary *options = [[NSMutableDictionary alloc] init];
[options…

Daniel
- 1,473
- 3
- 33
- 63
0
votes
0 answers
CoreGraphics: How to find out if a PDF file has entries in its catalog?
I'm trying to find out if a PDF has links/target/outline entries.
I use code like this (Monotouch, but should be similar in ObjC):
public bool HasOutlineEntries()
{
CGPDFDictionary oCatalogDic = oPdfDoc.GetCatalog ();
CGPDFDictionary…

Krumelur
- 32,180
- 27
- 124
- 263