screenPixelToMillimeterX property
Gets or sets the size of a screen pixel along the x-axis of the viewport.
![]() ![]() |
Syntax
HRESULT value = object.put_screenPixelToMillimeterX( vPixelSizeX);HRESULT value = object.get_screenPixelToMillimeterX(* pPixelSizeX);
Property values
Type: float
The size of a screen pixel along the x-axis of the viewport.
Standards information
- Scalable Vector Graphics: Document Structure, Section 5.11.2
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 ISVGSVGElement::screenPixelToMillimeterX attribute expresses that information. Otherwise, Internet Explorer provides a suitable default value.
Show:

