LoriotPro Extended Edition LUA scripting documentation

TOC
LUA TOC


lpav.GetPosition - Get the position of an object in a view

x,y,x1,y1=lpav.GetPosition() ;

Description

Provide the graphical coordinates of the graphical object

Parameters

none, use the default object

Return Values

The return value

X The X position of the object, the number of pixel from the right border of the Active View display area
Y The Y position of the object, the number of pixel from the top border the Active View display area
X1 The width of the object in pixel
Y1 The high of the object in pixel

return nil if error

 


www.loriotpro.com