Windows-Apps
Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

msContentZoomFactor property

Specifies the content zoom factor.

This property is read/write.

Syntax

JavaScript
object.msContentZoomFactor = zoomFactor
zoomFactor = object.msContentZoomFactor

 

Property values

Type: Floating-point

Floating-point value representing the scale factor.

Remarks

The value of this property represents the zoom scale factor (for example, a value of 0.5 has the percentage scale effect of 50% for the content of a given element).

This property has no effect on non-zoomable elements. For information on zoomable elements, see -ms-content-zooming.

Starting with Windows 8.1, this property is also supported for touchpad interaction.

This property requires Windows 8 or later.

See also

Element
Windows Store apps using JavaScript Samples: HTML scrolling, panning and zooming sample
CSS properties for zooming and panning with touch
Internet Explorer Samples: Scrolling, panning, and zooming with touch input
CSS properties for zooming and panning with touch

 

 

Anzeigen:
© 2016 Microsoft