Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
xmp data |
Post Reply |
Author | |
modderkolk
Beginner Joined: 11 Apr 12 Location: The Netherlands Status: Offline Points: 7 |
Post Options
Thanks(0)
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 |
|
AndrewC
Moderator Group Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
|
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
|
|
modderkolk
Beginner Joined: 11 Apr 12 Location: The Netherlands Status: Offline Points: 7 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store