Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

How to use MSHTML to set a -ms-transform scale or matrix on an iframe or div element?

$
0
0

How to use MSHTML to set a -ms-transform scale or matrix on an iframe or div element. Has anyone got an example on how one may accomplish this in MSHTML via the available COM interfaces in C++?

Previously, I was using put_filter with 'progid:DXImageTransform.Microsoft.Matrix(M11='0.3', M22='0.3', sizingmethod='auto expand'' on the DIV and iFrame although the DX filters are depreciated in IE10. 

I believe, although maybe this is where I'm going wrong, I need to use get_style then set an appropriate attribute, but which one? I do need to be able to accomplish this dynamically that's why I'm using MSHTML. 

Many, many thanks in advance. 



Viewing all articles
Browse latest Browse all 3527

Trending Articles