Gets or sets the magnification scale of the object.
HRESULT IHTMLStyle3::get_zoom(VARIANT *p);HRESULT IHTMLStyle3::put_zoom(VARIANT v);
- Pointer to a variable of type VARIANT of type VT_I4 or VT_BSTR that receives one of the values listed in Possible Values.
- VARIANT of type VT_I4 or VT_BSTR that specifies one of the values listed in Possible Values.
normal Default. Magnification scale is normal. The object renders normal size. number Floating-point number that specifies the magnification scale, where 1.0 is normal. percentage Integer, followed by a %. The value is a percentage of the magnification scale, where 100% is normal.
Returns S_OK if successful, or an error value otherwise.
Windows Internet Explorer 8. The -ms-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.