Print Page | Close Window

xmp data

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2545
Printed Date: 22 Nov 24 at 6:26PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: xmp data
Posted By: modderkolk
Subject: xmp data
Date Posted: 01 Mar 13 at 9:53AM
Hi,

I want to add some xmp data to Pdf's.
I saw that you can set custom metadata using:
QP.SetInformation(.,.);
But my question is: Can I set xmp metadata, using a xmp schema with properties, fields and values?

Thanks,
Evert-Jan Modderkolk


-------------

Thanks,
Evert-Jan Modderkolk



Replies:
Posted By: AndrewC
Date Posted: 03 Mar 13 at 7:25AM
We don't have direct functions but you could use QP.GetDocumentMetadata to get the XMP metdata, then using something like MSXML to add the values that you need and then call QP.SetDocumentMetadata.

Andrew


Posted By: modderkolk
Date Posted: 07 Mar 13 at 12:40PM
Hi Andrew,

thanks that works.

But I was testing it, adding values of more than one schema, then it goes wrong.
So when I only add the values of the first schema to the xml and save it in the pdf als xmp, save the pdf. It goes ok. When I later open that file and add the values of the second schema to the saved file, it goes ok too. 
But when I add the values of the two schemas in one run, no xmp is left in the Pdf.

What can be the reason?



-------------

Thanks,
Evert-Jan Modderkolk



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk