Dx - property of the PmgObject object
Description:
Width of the Pmg object (in pixels).
Note:
Property access
for read and write. The preset value of this property is defined in the "
Dx" configurator of this object.
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oItem = pMe.Items("/Txt0");
var nDx = oItem.Dx; //reading
oItem.Dx = 200; //writing
Dim oItem, nDx
Set oItem = pMe.Items("/Txt0")
nDx = oItem.Dx 'reading
oItem.Dx = 200 'writing