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.

Is it possible to render UIElements to PDF ?

Thread ID:

Created:

Updated:

Platform:

Replies:

106414 Jan 4,2013 11:34 PM Jan 17,2013 06:50 AM WinRT 6
loading
Tags: PDF
Farhan
Asked On January 4, 2013 11:34 PM

Hi, I have a scenario for my app. Suppos there is one or more textbox with textblock and some radio button, in short it's some kind of form. Now I want to export that form as PDF and letter it can be filled by opening that PDF and generating new PDF with filled values. Is it possible with current Syncfusion library ?

Thanks.

George Livingston [Syncfusion]
Replied On January 8, 2013 01:55 AM

Hi Farhan,

 

Currently we do not have support to convert the UI elements in the form directly to the PDF document. But it is possible to manually create form fields in the PDF document by iterating the UI elements from the form.

 

Please find the sample available in the link below,

 

FormFieldSample.zip

 

Please let us know if you have any questions.

 

Regards,

George

 


Farhan
Replied On January 10, 2013 06:20 AM

Thanks George, the example you have given is more helpful to me. :)

Farhan
Replied On January 10, 2013 06:27 AM

In the example you have given, I can't export button in PDF, why ? Thanks.

George Livingston [Syncfusion]
Replied On January 15, 2013 04:12 AM

Hi Farhan,

Thank you for your update.

We are not able to reproduce the issue, here with I have attached modified sample for your reference. Please find the sample and video snap shot available in the link below,

Sample Link: FormFieldSampleModified.zip

Video SnapShot: VideoSnapShot.zip

Please let us know if you have any questions.

Regards,

George


Farhan
Replied On January 16, 2013 07:46 AM

Hi,

I have tried to open file in Adobe Reader then it shows the button but the built-in Reader app doesn't show button in PDF, can you please check that use case ?

Thanks.

George Livingston [Syncfusion]
Replied On January 17, 2013 06:50 AM

Hi Farhan,

 

Thank you for your update.

 

Please use the below mentioned code snippet to get the buttons visible in the Build-in Windows PDF reader app,

doc.Form.SetDefaultAppearance(false);

 

Please try this and let us know if you have any questions.

 

Regards,

George


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.

;