Groups | Blog | Home
all groups > dotnet drawing api > december 2004 >

dotnet drawing api : Twips to Pixels


Angel
12/27/2004 10:29:02 AM
I wrote an application in vb6 to save certain items is twips. I would like to
convert those items that were saved in a Twips format to Pixels. Is there a
function or a way to convert Twips into Pixel?

Ken Tucker [MVP]
12/27/2004 10:54:15 PM
Hi,

http://p2p.wrox.com/archive/pro_windows_forms/2003-02/6.asp

Ken
----------------------
[quoted text, click to view]
I wrote an application in vb6 to save certain items is twips. I would like
to
convert those items that were saved in a Twips format to Pixels. Is there a
function or a way to convert Twips into Pixel?

thanks in advance...

Eugene
12/29/2004 1:27:50 PM
Hello,

Twips is 1440 point per inch
Pixel is 96 point per inch usually.

X twips is X * 96/1440 pixels

Eugene


[quoted text, click to view]


AddThis Social Bookmark Button