[python-win32] Invoking InchesToPoints

Tim Roberts timr at probo.com
Wed Aug 3 18:59:32 CEST 2005


On Tue, 2 Aug 2005 11:43:08 -0700 (PDT), 
<kimwaic888-pythonwin32 at yahoo.com> wrote:

>Thank you for responding.
>
>I don't know why that's needed neither but that's what
>Record Macro showed in Word.
>  
>

Sure, it makes (some) sense in Word, but if you're porting it to Python, 
forget about it.

>Is it possible that it's not 72 all the time,
>depending on the screen resolution and so forth?
>  
>


No.  Pixels-per-inch can vary based on small vs large fonts, but 
points-per-inch is always 72, and twips-per-inch is always 1440.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-win32 mailing list