Origin is always the MediaBox - since all drawing is relative to that.

And I've seen some REALLY STRANGE origins...


Leonard

On Feb 7, 2007, at 3:02 AM, Bruno Lowagie (iText) wrote:

> Tallat Hussain wrote:
>> Hi,
>>
>> I want to know how we can calculate the origin of a PDF. Most of the
>> cases it is (0,0). But in some cases it is not zero. I have a  
>> document
>> where it is (x=-432,y=432)
>
> I want to see that marvel ;-)
>
> I'd have a look at the MediaBox values;
> and at the page content stream to see if
> any CTM is involved.
> If my answer puzzles you: please search
> for the unknown words in the PDF Reference.
> br,
> Bruno
>
> ---------------------------------------------------------------------- 
> ---
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to