I used this code nt pdfdoc = new Document((), 12f, 12f, 12f, 12f); still. Net It is working fine. pls advice me how to change page landscape. Currently it is Shashikant. Professional. Hi,. Please refer below code. C#. Using iTextSharp I am trying do like this to make it landscape oriteantion it is not working.. Document doc = new Document(

Author: Mimuro Kasar
Country: Jordan
Language: English (Spanish)
Genre: Video
Published (Last): 6 October 2005
Pages: 462
PDF File Size: 1.24 Mb
ePub File Size: 1.71 Mb
ISBN: 113-4-24309-180-6
Downloads: 62335
Price: Free* [*Free Regsitration Required]
Uploader: Tosida

Rotate ; you might also need this to expand a table to max width. Luca Romagnoli 4, 27 78 Let’s work to help developers, not make them feel stupid.

You can initialize a new document lansscape that: Provide an answer or move on to the next question. Why doesn’t my code respond to pagelayout landscape in pdf converter. As for getting an answer for you question: You can set the page size to a rotated A4.


Sign up using Facebook. Check the already answered question, you may get the clue you need stackoverflow. Search everywhere only in this topic. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

iText – iText for C# – A4 Landscape not working

Alexei Bondarev 5 9. Read the question carefully. Stack Overflow works best with JavaScript enabled. Add your solution here. Stack Overflow works itextshafp with JavaScript enabled. Sign up or log in Sign up using Google. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem.

Chances are they have and don’t get it. In reply to this post by Florian Peschka.

No need to initialize the Document and reset the page size Free forum by Nabble. NET using iTextSharp with a button click.

c# – iTextsharp landscape document – Stack Overflow

Hi Shoaib, No it is still showing same size. Could any one solve this I need to create a text in the PDF for the specified x and y coordinates.


As for your question: Sign up using Email and Password. I also want to change the PDF to landscape mode will the above code work??? Is there some setting I forgot to define? Many questions posted to this list can and will be answered with a reference to the iText book: Shoaib Shaikh 4, 1 21 By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

iText for C# – A4 Landscape not working

Existing Members Sign in to your account. What is funny is that doc. I am using following code with rotate:.