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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - xmp data
  FAQ FAQ  Forum Search   Register Register  Login Login

xmp data

 Post Reply Post Reply
Author
Message
modderkolk View Drop Down
Beginner
Beginner


Joined: 11 Apr 12
Location: The Netherlands
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote modderkolk Quote  Post ReplyReply Direct Link To This Post Topic: xmp data
    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
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
modderkolk View Drop Down
Beginner
Beginner


Joined: 11 Apr 12
Location: The Netherlands
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote modderkolk Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store