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