TwipsPerPixelX Function

Returns the number of twips that represent the width of a pixel.

Syntax:

n = TwipsPerPixelX

Return values:

Integers

Example:

Sub ExamplePixelTwips

    MsgBox "" & TwipsPerPixelX() & " Twips * " & TwipsPerPixelY() & " Twips",0,"Pixel size"

End Sub