We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Access dictionary in document.DocumentInformation

Thread ID:

Created:

Updated:

Platform:

Replies:

119885 Aug 10,2015 12:08 PM Aug 11,2015 03:29 AM Windows Forms 1
loading
Tags: PDF
shenhav
Asked On August 10, 2015 12:08 PM

Hello,

Is it possible to get and set  the dictionary property in DocumentInformation?
i have this code:

PdfLoadedDocument document=new PdfLoadedDocument("file.pdf");
PdfDocumentInformation docInfo=document.DocumentInformation;

at run time(in bedbug) i can see the properties i need to change in docInfo.Dictionary but i can't find a way to access the dictionary and change it.

Another question:
I am trying to get an attachment from a pdf and its working  fine when i created the attachment with "Syncfusion pdf" but when i try to an attachment from a pdf i created with "aspose", the attachment count is zero(when i open the same file with adobe pdf i can see and open the attachment).

Thanks.

Karthik Krishnaraj [Syncfusion]
Replied On August 11, 2015 03:29 AM

Hi Shenhav,
Thank you for using syncfusion products,

Is it possible to get and set  the dictionary property in DocumentInformation?

i have this code:


PdfLoadedDocument document=new PdfLoadedDocument("file.pdf");

PdfDocumentInformation docInfo=document.DocumentInformation;


at run time(in bedbug) i can see the properties i need to change in docInfo.Dictionary but i can't find a way to access the dictionary and change it.



Yes it is possible, We have created simple sample inorder to access document information, can you please check with the below sample and let us know whether your requirement is fulfilled.


Sample Link:

http://www.syncfusion.com/downloads/support/forum/119885/ze/AttachmentsWF612780818


I am trying to get an attachment from a pdf and its working  fine when i created the attachment with "Syncfusion pdf" but when i try to an attachment from a pdf i created with "aspose", the attachment count is zero(when i open the same file with adobe pdf i can see and open the attachment).

We can able to reproduce the issue with “Attachment count is zero for Aspose generated document” and suspect this to be defect. We have created issue report for this internally and it will be included in upcoming Volume 3 release which is expected to be available in end of september.


Thanks,
Karthik.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;