I'm tying to copy a ShapeNode using the CopyToClipboard and PasteFromClipboard methods using the code below.
diagram1.DefaultShape = new Shape(new ElementTemplate[] {
new ArcTemplate(0, 0, 100, 100, 0, 360, Color.Black, DashStyle.DashDot, 1f),
new ArcTemplate(20, 20, 60, 60, 0, 360, Color.Black, DashStyle.DashDot, 1f)
}, FillMode.Alternate);
ShapeNode s1 = diagram1.Factory.CreateShapeNode(10, 10, 10, 10);
diagram1.Selection.AddItem(s1);
diagramView1.CopyToClipboard(true);
diagramView1.PasteFromClipboard(25, 25);
In this case the FillMode of the Shape is not copied correctly. Is this something that will be fixed in future releases, or is there any known workaround?
And is there other properties on Shape that will not be copied correctly?
Or am I doing something wrong?