Am 03.10.2011 um 14:15 schrieb Beatrix Willius: > Hi, > > I have seen that the constructor CGNewPDFDocumentMBS has lots of options to > set meta data for a new pdf. But what about existing pdfs? I'm creating my > pdfs with html printing and want to set title and suggested name when using > "Save as pdf".
Well, the thing is about reading a PDF and writing it. There is no direct change. If you want to change metadata, you read old values from old PDF, create a new PDF with new/modified values and copy the pages. PDFKit may be better than CoreGraphics for some things as it is on a higher abstraction layer. With DynaPDF you can simply use ImportPDFFile to import a whole file, set a new meta data and save it. This would just change the one metadata item. Greetings Christian -- See you in Frankfurt, Germany at the Real Studio Database Days More details and registration here: http://www.monkeybreadsoftware.de/realbasic/events/frankfurt-2011-event.shtml _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
