HTML DOM logicalYDPI Property

Definition and Usage

The logicalYDPI property returns the standard DPI points per inch in the vertical direction of the display screen.

Syntax

screen.logicalYDPI

Example

<html>
<body>
<script type="text/javascript">
document.write("<p>Logical YDPI: ")
document.write(screen.logicalYDPI + "</p>")
</script>
</body>
</html>