Screen.TwipsPerPixelY (property)

Syntax

Screen.TwipsPerPixelY

Description

Returns an Integer representing the number of twips per pixel in the vertical direction of the installed display driver.

Comments

This property is read-only.

Example

This example displays the number of twips across the screen vertically.

Sub Main()

  YScreenTwips = Screen.Height * Screen.TwipsPerPixelY

  MsgBox "Total vertical screen twips = " & YScreenTwips

End Sub

See Also

Screen.TwipsPerPixelX (property).

More information

S