a
b
c
cx
cy
d
dx
dy
e
f
fx
fy
id
in1
in2
k1
k2
k3
k4
r1
r2
x
x1
x2
y
y1
y2
z
Expand Minimize

screenPixelToMillimeterX property

Gets or sets the size of a screen pixel along the x-axis of the viewport.

Scalable Vector Graphics: Document Structure, Section 5.11.2Internet Explorer 9

Syntax

JavaScript
pPixelSizeX = object.screenPixelToMillimeterX

Property values

Type: Floating-point

The size of a screen pixel along the x-axis of the viewport.

Standards information

Remarks

User interface (UI) events in Document Object Model (DOM) Level 2 Events Specification indicate the screen positions where the given event occurred. When Windows Internet Explorer knows the physical size of a "screen unit", the screenPixelToMillimeterX attribute expresses that information. Otherwise, Internet Explorer provides a suitable default value.

See also

SVGSVGElement

 

 

Show:
© 2014 Microsoft