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 oNumber = oForm.CreateItem("string", "note1", "", "ValueHorzAlign:right;");
var sValueHorzAlign = oNumber.ValueHorzAlign; //Reading the value
oNumber.ValueHorzAlign = "right"; //Writing the value