Getting element Width and Height values in [Properties -> Size and Position] dialog?

Discussion created by mad_sanity on Nov 6, 2011
Latest reply on Nov 8, 2011 by Hornbydd
In ArcMap UI, when element selection tool is selected, right-clicking the graphic element shows popup menu, if we click "Properties" item the Properties dialog is shown. How could I programmatically get the same values as being shown in "Width" and "Height" fields at the "Size and Position" tab of the dialog? Assumed I have a particular IElement in the code, for which I have to find these values, and I need the solution to work with IMapSurroundFrame-based elements also. The screenshot is attached, sorry for non-English localization of the software, I hope it's clear enough what is needed.