本示例以像素为单位显示以磅为单位的对象的高度和宽度。

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