Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

deviceYDPI property

Gets the actual number of vertical dots per inch (dpi) of the system's screen.

Syntax

HRESULT value = object.get_deviceYDPI(* p);

Property values

Type: long

The DPI.

Standards information

There are no standards that apply here.

Remarks

On most systems, there is no difference between horizontal and vertical DPI.

The IHTMLScreen2::deviceYDPI property was introduced in Microsoft Internet Explorer 6.

For information about how Internet Explorer 6 and later can adjust the scale of the display on screens with higher-than-normal DPI, see Adjusting Scale for Higher DPI Screens.

See also

Reference
IHTMLScreen2::deviceXDPI
IHTMLScreen2::logicalXDPI
IHTMLScreen2::logicalYDPI

 

 

Community Additions

ADD
Show:
© 2015 Microsoft