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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change page orientation of a PdfLoadedDocument with PdfLoadedForm

Thread ID:





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

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?

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.


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

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


Please let us know if you have any questions.


Elbie Louw
Replied On March 27, 2012 11:46 AM UTC

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


Elbie Louw
Replied On March 27, 2012 01:28 PM UTC

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 04:50 AM UTC

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.


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,


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



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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