this is in the apache POI export Excel document ,I Don't know this sentence mean "This is in 1/20th of a point."; who can help me! I know in this sentence "1/20th" th is length unit,but I Don't know convert this unit;
Asked
Active
Viewed 340 times
-5
-
1This is the type of question you could have easily answered using Google. Please read the [FAQ] and [Ask] before posting on SO. – Jim Garrison Jul 20 '12 at 04:04
-
So how is this related to `Java` and `JavaScript`? – Derek 朕會功夫 Jul 20 '12 at 04:05
-
POI has a Java library and could be considered Java-EE, I guess... Editing tags... – Thilo Jul 20 '12 at 04:06
1 Answers
5
To quote another answer:
In applications, 1pt is equal to exactly 1/72th of an inch; in traditional print technically 72pt is 0.996264 inches, although I think you'll be forgiven for rounding it up!
How many pixels = 1pt depends on the resolution of your image. If your image is 72ppi (pixels per inch), then one point will equal exactly one pixel.
-
thank you answered this question !but i don't know this sentence "th" and px how to convert? – YangHongChang Jul 21 '12 at 07:58
-
1/20th means "one twentieth", i.e, 5%. So 1/20th point is 1/1440th inch. At 72 pixels-per-inch that means that 20 of those units equal one pixel. – Thilo Jul 22 '12 at 00:16