- Home
- Forum
- ASP.NET Web Forms (Classic)
- Change page orientation of a PdfLoadedDocument with PdfLoadedForm
Change page orientation of a PdfLoadedDocument with PdfLoadedForm
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
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
SIGN IN To post a reply.
4 Replies
GL
George Livingston
Syncfusion Team
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
http://www.syncfusion.com/downloads/Support/DirectTrac/92088/FillFormFields132095191.zip
Please let us know if you have any questions.
Regards,
George
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
EL
Elbie Louw
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?
Sample_c3b3cc67.zip
Sample_c3b3cc67.zip
EL
Elbie Louw
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
GL
George Livingston
Syncfusion Team
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.
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
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
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
-
EL Elbie Louw
- Mar 18, 2012 04:59 PM UTC
- Mar 30, 2012 04:50 AM UTC