Converting line spacing from lines to points?

R

roytang

Hi,

How can I compute the number of points given the number of lines (or
vice-versa)?

I'm referring to the ParagraphFormat.Space* and
ParagraphFormat.LineRule* properties.

i.e. if I have ParagraphFormat.SpaceBefore = 0.5 and
ParagraphFormat.LineRuleBefore = msoTrue, and I use VBA to change
ParagraphFormat.LineRuleBefore to msoFalse, I need to compute the new
value of SpaceBefore in points...is there a formula for this?

The ratio does not seem to be constant across different machines.

Thanks!

Roy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top