Print Page | Close Window

Direct Access functionality problem

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=2749
Printed Date: 08 Nov 25 at 4:26PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Direct Access functionality problem
Posted By: alinux
Subject: Direct Access functionality problem
Date Posted: 07 Oct 13 at 10:59AM
Hello all,

I'd like to use DA functionality to add some custom information to my PDFs but i think it's not working.

file_handle = qck_pdf.DAOpenFile(file_name, "");
qck_pdf.DASetInformation(file_handle, "new info", "value info");
qck_pdf.DACloseFile(file_handle);

(QuickPDFLibrary v9.14, 32 bits, #.Net)

Thanks.
Alin



Replies:
Posted By: AndrewC
Date Posted: 07 Oct 13 at 11:43AM
Alin,

You will need to call QP.DASaveAsFile if you want to  save your changes.  QP.DACLoseFile basically closes the file and all changes are lost.

Andrew.



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