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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Extracting Header Information (Metadata) and field meta data from PDF files

Thread ID:

Created:

Updated:

Platform:

Replies:

118312 Feb 24,2015 04:09 PM UTC Feb 25,2015 02:40 PM UTC WinForms 1
loading
Tags: PDF
jb
Asked On February 24, 2015 04:09 PM UTC

Hi,
I have a template from which i want to extract the meta data. With the extracted meta data, I want to create a new pdf which will allow me to create a clone of the original template. The reason to do this is to have more control over the radio button names, the original template have names as "1", "2",..etc and i want to create my PDF with radio button with meaning names.

Also I can extract the header info as well as placement info of the existing field elements in the fillable template i have

Abirami Selvan [Syncfusion]
Replied On February 25, 2015 02:40 PM UTC

Hi Jb,

Thank you for using Syncfusion product .

Currently ,We don’t have support for extracting the meta data and header information from the existing pdf document and also we could not modify radiobuttonfield item’s name when loading the existing pdf document. But we can get the location of the existing fields.

 

Please refer the below code snippet :

//Get  the radiobutton

PdfLoadedRadioButtonListField radiobuttonField = form.Fields[16] as PdfLoadedRadioButtonListField;

//get the items

PdfLoadedRadioButtonItemCollection radioButtonItemCollection = radiobuttonField.Items;

//get one item from itemcollection

PdfLoadedRadioButtonItem radioButtonItem = radioButtonItemCollection[0];

//Get the radiobuttonitem (first item) bounds

RectangleF rect = radioButtonItem.Bounds;

//Get the textboxfield

PdfLoadedTextBoxField textBoxField = form.Fields[1] as PdfLoadedTextBoxField;

//Get the textbox bounds

RectangleF rect1 = textBoxField.Bounds;

Please refer the attached sample in the below link:

http://www.syncfusion.com/downloads/support/directtrac/118312/sample-38743551.zip

Please let us know if you need any further assistance .

Thanks,

Abirami.



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.

Warning Icon 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.Close Icon

;