How can i clone the GoLink Programically.i tried with below code but it seems
go view is not supplying the Go link object.we wrapped the Gomultitext in the Glyph class
so goview is giving that object but in the case of Golink we r not wrapping it.so i thing the cloning is
done internally.
Issue:i need to copy the go-view diagram along with the link. here the copy is done by go-view itself but since we r wrapping the goview in another class some objects r not cloned so we thought of cloning programically.
CODE::
//Here the link object is not provided by Go_view
public override GoObject CopyObject(GoCopyDictionary dictionary) {
Glyph original = (Glyph)base.CopyObject(dictionary);
original.ID = workspace.NextID(original);
Glyph glyph = (Glyph)original.Clone();
glyph.Left = original.Left;
glyph.Top = original.Top;
workspace.SetGlyph(glyph);
return glyph;
}