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: Gardashicage Dorg
Country: Cambodia
Language: English (Spanish)
Genre: Marketing
Published (Last): 13 August 2005
Pages: 341
PDF File Size: 15.39 Mb
ePub File Size: 5.29 Mb
ISBN: 712-8-25756-843-2
Downloads: 59185
Price: Free* [*Free Regsitration Required]
Uploader: Karan

Rotate ; you might also need this to expand a table to max width. But in iTextSharp, the coordinate is not correctly matching with the indesign coordinate.

Search everywhere only in this topic. What is funny is that doc. Provide an answer or move on to the next question. Sign up using Email and Password. Why doesn’t my code respond to pagelayout landscape in pdf converter. I didn’t receive anything.

Can someone post some codes here, any suggestion is appreciated Thanks As for your question: Rotate10, 10, 10, 10 ; Itexhsharp you’ve sent the question to the wrong list.


Could any one solve this I need to create a text in the PDF for the specified x and y coordinates. I am using following code with rotate: Post as a guest Name. In reply to this post by Florian Peschka. Sign up using Facebook. Many questions posted to this list can and will be answered with a reference to the iText book: Sign up using Email and Password.

Sign up using Facebook.

I give the parameter to itextsharp as pdfContenByte. As for getting an answer for you question: 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. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Ladscape.

How to change Pdf page orientation portrait to landscape c#

Please Sign up or sign in to vote. Let’s work to help developers, not make them feel stupid.


You can initialize a new document like that: Luca Romagnoli 4, 27 78 I didn’t get any reply. NET using iTextSharp with a button click. Understand that English isn’t everyone’s first language so be lenient of bad spelling and grammar. Don’t tell someone to read the manual.

If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Sign up or log in Sign up using Google. This email is in use.

iText for C# – A4 Landscape not working

Rotate10, 10, 10, 10 ; In this mode all pages will be in landscape mode. To change the layout of the page inside the document you can use: GetInstance document, msReport ; document.

NET, now my problem is I cant make it as a Landscape format.