On 24/08/2011 13:45, John Renfrew wrote:
doc = new Document(PageSize.A4_LANDSCAPE)
I think it was a bad idea to accept PageSize.A4_LANDSCAPE into the main
distribution.
It was an addition asked for by somebody (it's not mentioned in the
changelogs, so I don't remember who), but it doesn't a
doc = new Document(PageSize.A4)
and
doc = new Document(PageSize.A4_LANDSCAPE)
seem to produce the same thing - a portrait page. As do the two other
landscape formats mentioned in the api.
Is this deliberate??
john renfrew
Right Way Up
Office +44 1675 475341
And that would be why. I misread something on the wikipedia page that said
the "Similar ISO A Size". Thanks for the help.
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/PageSize-Not-Translating-to-72-per-inch-tp2531545p2531730.html
Sent from the iText - General maili
A4 isn't US Letter. US Letter is 8.5x11.
-Original Message-
From: shaselsc [mailto:haselschwerdt.step...@aoins.com]
Sent: Wednesday, September 08, 2010 11:47 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] PageSize Not Translating to 72 per inch
I'm
I'm trying to determine the actual value to create the correct margins on my
page, but I seem to be running into an issue. When I create a document using
PageSize.A4, which is supposed to be 8.5x11, I get back 595x842. If you
divide those values by 72, you get ~8.264x11.694. Am I missing something
Howard Shank írta:
> Jantek,
>
> What version of iText are you using? I realized we removed the requirement of
> the document being open recently.
>
> Howard
>
>
hi,
i use 2.1.0. i would be very happy if you wrote me which source files
should i replace with newer ones in the library, to get r
[iText-questions] pagesize, margins setting from rtf
Hello!
I am facing the problem of setting margins and pagesize
for the first page of the document.
I have to set these paramerters before opening the
document, to have them already applied to the first page.
But unfortunately the RtfParser also nee
gt;
To: Post all your questions about iText here
Sent: Friday, May 9, 2008 9:24:04 AM
Subject: Re: [iText-questions] pagesize, margins setting from rtf
Howard Shank írta:
> Hi Jantek,
>
> I'm not quite sure I have a solution for your question at the moment. When I
> developed
Howard Shank írta:
> Hi Jantek,
>
> I'm not quite sure I have a solution for your question at the moment. When I
> developed the new parser, I began adding a couple new features never before
> available in iText. So convertRtfDocument is work in progress and is not
> completely functional at thi
ssist with figuring it out.
Regards,
Howard Shank
- Original Message
From: Jantek Balázs <[EMAIL PROTECTED]>
To: iText-questions@lists.sourceforge.net
Sent: Friday, May 9, 2008 5:43:28 AM
Subject: [iText-questions] pagesize, margins setting from rtf
Hello!
I am facing the problem of
Hello!
I am facing the problem of setting margins and pagesize
for the first page of the document.
I have to set these paramerters before opening the
document, to have them already applied to the first page.
But unfortunately the RtfParser also needs the document
to be opened when calling convertR
Citeren [EMAIL PROTECTED]:
> Is there any way to specify the margins and pagesize in
> the tagmap so they don't have to be hardcoded?
This should be done in the Handler-class, not in the TagMap-class.
You could add the necessary values to the root element of your XML
and use these values before d
Hi,
I have a question regarding setting Margins and Page size when using XML to
generate PDFs. I noticed in the tutorials that the page size and margins
are set in the constructor of the Document and then the XML and tagmap used
to create the PDF. Is there anyway to specify the margins and pagesiz
13 matches
Mail list logo