LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

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

LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.

Syntax 

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