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.

Change page orientation of a PdfLoadedDocument with PdfLoadedForm

Thread ID:

Created:

Updated:

Platform:

Replies:

102961 Mar 18,2012 12:59 PM Mar 30,2012 12:50 AM ASP.NET Web Forms (Classic) 4
loading
Tags: PDF
Elbie Louw
Asked On March 18, 2012 12:59 PM

We have a document created in ADOBE PRO 9 already in LANDSCAPE format. When one opens the pdfLoadedDocument as Portrait but all the fields are populated in Landscape format. The document contains a PdfLoadedForm which gets populated using C# with the SyncFusion dlls. The minute that I convert the document to a pdfDocument then I can't populate the form fields.

Is there a way of opening the document in Landscape more or rotate the form fields in the PdfLoadedForm?

SAD554_SAMPLE.pdf
The first page of the document attached contains the output from the program. The second page the format of the original document with the field data as it should be - this was added manually as an example.

SAD554.pdf - template used in C# to generate the document

Your help will be appreciated as I have spent many hours on this already.



SAD554_1f31b7a8.zip

George Livingston [Syncfusion]
Replied On March 20, 2012 01:52 AM

Hi Elbie,

Thank you for using Syncfusion products.

We are not able to reproduce the issue in our side; here we have attached a sample with which we tried to reproduce the issue. So please modify the sample or provide us a sample with which we could be able to reproduce the issue. We are afraid that we could not able to see the SAD554_SAMPLE.pdf document in the attachment. Please provide some more information about the issue with the sample; it will be more helpful for us to investigate on this. Please create a Direct-Trac incident regards this forum

http://www.syncfusion.com/downloads/Support/DirectTrac/92088/FillFormFields132095191.zip

Please let us know if you have any questions.

Regards,
George



Elbie Louw
Replied On March 27, 2012 07:46 AM

Thank you for your example, but the data only displays when you put your mouse over the field and does not print?



Sample_c3b3cc67.zip

Elbie Louw
Replied On March 27, 2012 09:28 AM

With your example, the minute that you Flatten = true the Form or field, the field displays incorrectly, though it is visible


George Livingston [Syncfusion]
Replied On March 30, 2012 12:50 AM

Hi Elbie,

Thank you for your details.

We are able to reproduce the issue, please create a Direct-Trac incident for this issue. We have created a workaround to achieve your target. Please find the code snippet below to display the data when you print.

doc.Form.SetDefaultAppearance(true);

Please find the code snippet to make the values not editable,

(field as PdfLoadedTextBoxField).ReadOnly = true;

Please find the sample available in the link below,

http://www.syncfusion.com/downloads/Support/DirectTrac/92088/FillFormFields-1836301751.zip

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.

;