Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Greg Maxey[_2_] Greg Maxey[_2_] is offline
external usenet poster
 
Posts: 668
Default Internal Measurement Unit

An interesting point came up in a docManagment post.

The Paragraph dialog box has an option for setting paragraph spacing before
and after. The unit of measurement displayed in this option is points (pt).
However, a user may enter other acceptable units of measure (e.g.,
centimeters (cm)) and Word converts this entry to points. Enter 3 cm click
OK, open the dialog again and it displays 85.05 pt.

If you convert 3 cm to points programmatically Word returns 85.03937. Close
enough of course, but what is the actual true physical space applied and
what is that central unit of measurement employed internally in Word?

Sub GetPointEquivelent()
MsgBox CentimetersToPoints(3)
End Sub

Is the actual space 85.0397 points and the dialog rounds to and displays
85.05? Or is the actual space determined by some other unit of measure that
approximates both 85.05 points and 3 cm?

Thanks.

--
Greg Maxey

See my web site http://gregmaxey.mvps.org
for an eclectic collection of Word Tips.


  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Tony Jollans Tony Jollans is offline
external usenet poster
 
Posts: 1,308
Default Internal Measurement Unit

Generally speaking, the internal unit used is the twip (equal to one
twentieth of a point), so the, presumably accurate, 85.0397 is rounded to
85.05 (85 and one twentieth) points.

This rounding, partly at least, explains why some fine adjustments cannot be
made, or appear not to 'take'.

--
Enjoy,
Tony

www.WordArticles.com

"Greg Maxey" wrote in message
...
An interesting point came up in a docManagment post.

The Paragraph dialog box has an option for setting paragraph spacing
before and after. The unit of measurement displayed in this option is
points (pt). However, a user may enter other acceptable units of measure
(e.g., centimeters (cm)) and Word converts this entry to points. Enter 3
cm click OK, open the dialog again and it displays 85.05 pt.

If you convert 3 cm to points programmatically Word returns 85.03937.
Close enough of course, but what is the actual true physical space applied
and what is that central unit of measurement employed internally in Word?

Sub GetPointEquivelent()
MsgBox CentimetersToPoints(3)
End Sub

Is the actual space 85.0397 points and the dialog rounds to and displays
85.05? Or is the actual space determined by some other unit of measure
that approximates both 85.05 points and 3 cm?

Thanks.

--
Greg Maxey

See my web site http://gregmaxey.mvps.org
for an eclectic collection of Word Tips.



  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Pamelia Caswell via OfficeKB.com Pamelia Caswell via OfficeKB.com is offline
external usenet poster
 
Posts: 468
Default Internal Measurement Unit

Thanks for that explanation, Tony.

The page layout paragraph group of the ribbon shows 85.1 as the conversion
for 3 cm, but the paragraph dialog box shows 85.05. Because of your post, I
think I know which value MS Office is using. Still, MS should fix that
discrepancy.

Pam

Tony Jollans wrote:
Generally speaking, the internal unit used is the twip (equal to one
twentieth of a point), so the, presumably accurate, 85.0397 is rounded to
85.05 (85 and one twentieth) points.

This rounding, partly at least, explains why some fine adjustments cannot be
made, or appear not to 'take'.

An interesting point came up in a docManagment post.

[quoted text clipped - 17 lines]

Thanks.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ayout/200911/1

  #4   Report Post  
Posted to microsoft.public.word.pagelayout
Greg Maxey[_2_] Greg Maxey[_2_] is offline
external usenet poster
 
Posts: 668
Default Internal Measurement Unit

Tony,

Thanks. I appreciate the information

--
Greg Maxey

See my web site http://gregmaxey.mvps.org
for an eclectic collection of Word Tips.

"Tony Jollans" My forename at my surname dot com wrote in message
...
Generally speaking, the internal unit used is the twip (equal to one
twentieth of a point), so the, presumably accurate, 85.0397 is rounded to
85.05 (85 and one twentieth) points.

This rounding, partly at least, explains why some fine adjustments cannot
be made, or appear not to 'take'.

--
Enjoy,
Tony

www.WordArticles.com

"Greg Maxey" wrote in message
...
An interesting point came up in a docManagment post.

The Paragraph dialog box has an option for setting paragraph spacing
before and after. The unit of measurement displayed in this option is
points (pt). However, a user may enter other acceptable units of measure
(e.g., centimeters (cm)) and Word converts this entry to points. Enter 3
cm click OK, open the dialog again and it displays 85.05 pt.

If you convert 3 cm to points programmatically Word returns 85.03937.
Close enough of course, but what is the actual true physical space
applied and what is that central unit of measurement employed internally
in Word?

Sub GetPointEquivelent()
MsgBox CentimetersToPoints(3)
End Sub

Is the actual space 85.0397 points and the dialog rounds to and displays
85.05? Or is the actual space determined by some other unit of measure
that approximates both 85.05 points and 3 cm?

Thanks.

--
Greg Maxey

See my web site http://gregmaxey.mvps.org
for an eclectic collection of Word Tips.





Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
page measurement unit Pasha Microsoft Word Help 1 June 1st 08 11:51 AM
Measurement Unit keeps resetting back to points Bob Microsoft Word Help 3 April 3rd 07 11:28 PM
Unit of measurement ("ch")? GVT Microsoft Word Help 4 July 6th 05 10:40 PM
Ruler only shows centimeters no matter what my measurement unit i. jasonk Microsoft Word Help 2 January 24th 05 09:20 PM
Word XP Unit of Measurement Won't Change Bad Bart New Users 3 December 30th 04 04:14 AM


All times are GMT +1. The time now is 03:42 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"