Origin is always the MediaBox - UNLESS something changes it...
Leonard
On Sep 23, 2008, at 8:36 PM, Dean Krueger wrote:
> Hi,
> When using a PdfContentByte to set type on a PDF, what does it use
> for its 0,0 basis? The trimbox mediabox, bounding box? Seems that if I
> set the textMatrix 10,120
Hi,
When using a PdfContentByte to set type on a PDF, what does it use
for its 0,0 basis? The trimbox mediabox, bounding box? Seems that if I
set the textMatrix 10,120 it sometimes, starts in a different position
than I expect.
Thanks
Dean Krueger
riday, December 20, 2002 17:40
Subject: Re: [iText-questions] PdfContentByte.setTextMatrix - units, 0,0,
and text position
> Any idea why the graphic image prints smaller than it should?
>
> thanks - dave
>
>
> - Original Message -
> From: "Paulo Soares&qu
t;David Thielen" <[EMAIL PROTECTED]>
> To: "itext" <[EMAIL PROTECTED]>
> Sent: Thursday, December 19, 2002 21:47
> Subject: Re: [iText-questions] PdfContentByte.setTextMatrix - units, 0,0,
> and text position
>
>
> > Hi;
> >
> > I've tried
ailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]>
> To: "David Thielen" < <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]>;
> "itext" < <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]>
> Sent: Thursday, December 19, 2002 1:06 PM
> Subject:
Hi;
Anyone have any ideas?
thanks - dave
- Original Message -
From:
David Thielen
To: itext
Sent: Thursday, December 19, 2002 2:47
PM
Subject: Re: [iText-questions]
PdfContentByte.setTextMatrix - units, 0,0, and text position
Hi;
I've
nt is not
killer.
Any ideas?
thanks - dave
- Original Message -
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "David Thielen" <[EMAIL PROTECTED]>; "itext"
<[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 1:06
PM
Subject: Re: [iT
- Original Message -
From: "David Thielen" <[EMAIL PROTECTED]>
To: "itext" <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 19:11
Subject: [iText-questions] PdfContentByte.setTextMatrix - units, 0,0, and
text position
> Hi;
>
> When calling
Hi;When calling
PdfContentByte.setTextMatrix, a couple of questions about it.
x,y - are these units in points?
where is 0,0 - the lower left corner of the
page?
Is this the position of the top, baseline, or
bottom of the text written?
thanks - dave