开发者

What are PDFs measured in?

开发者 https://www.devze.com 2023-01-11 04:20 出处:网络
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. Measurements

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.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消