Application.PointsToPixels procedure builder

Application.PointsToPixels (Word)

Converts a measurement from points to pixels. Returns the converted measurement as a Single.

PointsToPixels (Points, fVertical)

MsgBox "180x120 points is equivalent to " _ 
 & PointsToPixels(180, False) & "x" _ 
 & PointsToPixels(120, True) _ 
 & " pixels on this display."


The following argument is required

Points (Single) - The point value to be converted to pixels.

Optional arguments

The following argument is optional

fVertical - True to return the result as vertical pixels; False to return the result as horizontal pixels