PointsToPixels Method Example

This example displays the height and width in pixels of an object measured in points.

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