Hi,
I'm using the trial version.
I've created custom Shape, using:
var shape = new Shape( new ElementTemplate[] { new RoundRectangleTemplate(0, 0, 100, 100, 6) }, new ElementTemplate[] { }, null, FillMode.Winding, actividad.Id.ToString()); actividadShape = new ActividadShape( new AnchorPattern( new[] { new AnchorPoint(50, 0, true, true, MarkStyle.Circle, color), new AnchorPoint(100, 50, true, true, MarkStyle.Circle, color), new AnchorPoint(50, 100, true, true, MarkStyle.Circle, color), new AnchorPoint(0, 50, true, true, MarkStyle.Circle, color) }), shape, actividad.Codigo);
The actividad.Codigo and actividad.Id are my own application identifiers.
The problem is that after save the diagrama and try to load, the Shape.Id property is empty and the nodes change from rectangle to ellipse.
The SaveToStream method, lost the Shape object and their properties?
Best,
|