The formulas are not always applied. In the code below, I change the pin location of a shape. When I open the diagram, the pin location is not applied, but the shape sheet contains the right data. After I update the shape sheet data manually(however, I do not change anything there), the shape is displayed properly.
What am I missing here ?
The formulas are not always applied. In the code below, I change the pin location of a shape. When I open the diagram, the pin location is not applied, but the shape sheet contains the right data. After I update the shape sheet data manually(however, I do not change anything there), the shape is displayed properly. What am I missing here ?
long shapeId = page.DrawRectangle(0, 0, 1, 2); Shape shape = page.Shapes.GetShape(shapeId); shape.XForm.PinX.Ufe.F = "GUARD(0)"; shape.XForm.PinY.Ufe.F = "GUARD(0)"; shape.XForm.LocPinX.Ufe.F = "GUARD(0)"; shape.XForm.LocPinY.Ufe.F = "GUARD(0)";