I need to get the actual number of pixels that an IHTMLElements margin is taking up, in my c# code. I've looked in it's style and currentStyle members, but the relevant parts are either null or set to "auto".
Searching the internet has shown up the getCurrentStyle function in javascript, but I need these numbers in my c# code.
Obviously I'm a bit new to js and html and everything...
So, is there any way to get at the actual calculated number of pixels being used for an elements margin (or any of it's other measurements for that matter) in c# code?
I forgot to add: This will only be getting used in Internet Explorer for the foreseeable future