TwipsPerPixelX Function [Runtime]

From LibreOffice Help
Jump to: navigation, search

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

Syntax:

n = TwipsPerPixelX

Return value:

Integer

Example:

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