Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

TwipsPerPixelY Function

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

Syntax:


n = TwipsPerPixelY

Return value:

Integer

Example:


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