I'm trying to set a string value for Shape data, but when I open the file in Visio, it complains about being the wrong data type and resets it to 0.
var prop = new Prop();
prop.Type.Value = TypePropValue.String;
prop.Name = "EmployeeId";
prop.Value.Val = "NUM123456";
Why doesn't this work? Additionally, I have this data field in the master shape, but when a shape is created from it, it doesn't have any properties in the Props collection, so I have to add them manually as above.