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

logicalXDPI property

[This documentation is preliminary and is subject to change.]

Retrieves the normal number of horizontal dots per inch (DPI) of the system's screen.


HRESULT value = object.get_logicalXDPI(* p);

Property values

Type: long

the DPI.


On most systems, there is no difference between horizontal and vertical DPI. The normal DPI on most systems is 96.

When Windows Internet Explorer is adjusting the scale of the screen, the value of this property does not equal the value of the IHTMLScreen2::deviceXDPI property.

IHTMLScreen2::logicalXDPI 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




Build date: 6/6/2012

Community Additions

© 2015 Microsoft