Promotic
WikipediaLinkedInYoutubeTwitterFacebook

ViewX - property of the PmgObject object

Description:
Position of X-coordinate of the upper-left corner of the Pmg object relative to 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 (similar as 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 oItem = pMe.Items("/Txt0");
var nViewX = oItem.ViewX;
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice