Export (0) Print
Expand All

deviceXDPI property

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

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

Syntax

HRESULT value = object.get_deviceXDPI(* p);

Property values

Type: long

the DPI.

Remarks

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

IHTMLScreen2::deviceXDPI 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::deviceYDPI
IHTMLScreen2::logicalXDPI
IHTMLScreen2::logicalYDPI

 

 

Build date: 6/6/2012

Community Additions

Show:
© 2014 Microsoft