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: