Measuring Positions in msword
Hello and Greetings,
I am developing a program in python using (pywin32) and using msword 2007 for automatically adjsting formatting for paragraphs based on its attributes. For which i require postion of paragraph.range. I am using paragraph.range.information(wdverticalpositionrela tivetopage) but it is not accurate because it is returning the correct position for page one and returning 72.5 for every paragraph in second page with few exceptions.
I would like to know if there are other ways to access vertical and horizontal positions?
|