Reputation: 689
I'm using iTextSharp to apply rectangles to a PDF. It uses XY coordinates. I was wondering what type of measurement does PDF use? I know in Access uses twips for example.
Upvotes: 2
Views: 448
Reputation: 7400
Apparently PDF has it's own measurements.
72 PDF units is equal to 1 inch
See this link for conversion to inches: http://www.activepdf.com/support/knowledgebase/view.cfm?tk=dc&kb=11867
Upvotes: 0
Reputation: 1500065
Measurements are in PDF units:
The PDF specification defines space in a PDF file such that 72 PDF units is equal to 1 inch. Therefore, an 8 1/2" x 11" page would convert to 612 PDF units by 792 PDF units.
You might also want to read up on the PDF coordinate system
Upvotes: 5