Promotic

ViewX - property of the PmgObject object

Description:
Position of X-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object.
Syntax:
Long ViewX
Note:
Property access for read only.
 
This property is also functional in Web panels.
Caution! The coordinates are in real rendered pixels (similarly to PmgObject.ScreenX), that are affected by zoomem of the whole application see Application appearance zoom, not in coordinates of the development environment PmgObject.IniX.
See also:
- PmgObject.ViewY (property)
- PmgObject.X (property)
- PmgObject.IniX (property)
- PmgObject.ScreenX (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oObject = pMe.Items("/Txt0");
var nViewX = oObject.ViewX;
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.