Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

zoom property

Sets or retrieves the magnification scale of the object.

Syntax

HRESULT value = object.put_zoom( v);HRESULT value = object.get_zoom(* p);

Property values

Type: VARIANT

normal (normal)

Default. Magnification scale is normal. The object renders normal size.

number (number)

Floating-point number that specifies the magnification scale, where 1.0 is normal.

percentage (percentage)

Integer, followed by a %. The value is a percentage of the magnification scale, where 100% is normal.

String format

normal number percentage

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value

Standards information

There are no standards that apply here.

Remarks

Windows Internet Explorer 8. The IHTMLStyle3::zoom attribute is an extension to CSS, and can be used as a synonym for zoom in IE8 Standards mode.

Setting the value of the IHTMLStyle3::zoom property on a rendered object causes the content that surrounds the object to reflow.

Even though the IHTMLStyle3::zoom property is not inherited, it affects its children. This effect is similar to the transformation caused by the IHTMLBodyElement::background and IHTMLStyle::filter properties.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.