ElementAbsolutePosGet Method (IMElement)
X position of the element
Y position of the element
width of the element
height of the element
Gets absolute position of the scene element (not relative to a parent).
Syntax
Sub ElementAbsolutePosGet( _
   ByRef _pdblXPos As Double, _
   ByRef _pdblYPos As Double, _
   ByRef _pdblWidth As Double, _
   ByRef _pdblHeight As Double _
) 
void ElementAbsolutePosGet( 
   out double _pdblXPos,
   out double _pdblYPos,
   out double _pdblWidth,
   out double _pdblHeight
)
procedure ElementAbsolutePosGet( 
   Out  _pdblXPos: Double;
   Out  _pdblYPos: Double;
   Out  _pdblWidth: Double;
   Out  _pdblHeight: Double
); 
void ElementAbsolutePosGet( 
   [PARAMFLAG::Out] double _pdblXPos,
   [PARAMFLAG::Out] double _pdblYPos,
   [PARAMFLAG::Out] double _pdblWidth,
   [PARAMFLAG::Out] double _pdblHeight
) 

Parameters

_pdblXPos
X position of the element
_pdblYPos
Y position of the element
_pdblWidth
width of the element
_pdblHeight
height of the element
Example
Dim myX As Double
Dim myY As Double
Dim myWidth As Double
Dim myHeight As Double
myElement.ElementAbsolutePosGet(myX, myY, myWidth, myHeight)
double myX;
double myY;
double myWidth;
double myHeight;
myElement.ElementAbsolutePosGet(out myX, out myY, out myWidth, out myHeight);
myX, myY, myWidth, myHeight: double ;

myElement.ElementAbsolutePosGet(out myX, out myY, out myWidth, out myHeight);
See Also

Reference

IMElement Interface
IMElement Members