TwipsPerPixelX Function

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

Синтаксис

n = TwipsPerPixelX

Return value:

Integer

Намуна

Sub ExamplePixelTwips

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

End Sub