Obsolete. Gets the interpolation (resampling) method used to stretch images.
HRESULT IHTMLCurrentStyle4::get_msInterpolationMode(BSTR *p);
- Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.
nearest-neighbor Always use nearest neighbor interpolation mode. bicubic Always use high-quality bicubic interpolation mode.
Returns S_OK if successful, or an error value otherwise.
The IHTMLCurrentStyle4::msInterpolationMode property is obsolete as of Windows Internet Explorer 9. Do not use. The IHTMLCurrentStyle4::msInterpolationMode property was introduced in Internet Explorer 7.
The IHTMLCurrentStyle4::msInterpolationMode property applies to stretched images only. For example, if the natural width of the image is 200x200 but the page designer specifies that the height and width should be 400x400, then the image will be stretched to the new dimensions using the nearest-neighbor algorithm, unless otherwise specified.
If the zoom level of the page is 100%, the default interpolation is nearest-neighbor, otherwise bicubic mode is used.