ValueHorzAlign - property of the PmfString object
The way of horizontal text alignment.
- to the left
Property access for read and write
It is possible to write into this property only if the PmForm window has not been opened yet.
This property is also functional in Web panels.
var oString = oForm.CreateItem("string", "IdStr", "Title", "ValueHorzAlign:right;");
var sValueHorzAlign = oString.ValueHorzAlign; //Reading the value
oString.ValueHorzAlign = "right"; //Writing the value