Hi Stoyan ,
I have mailed the images regarding this on support mail ID.
Currently we are using node in "Figure1" format. Now we want format in "Figure2" format.
We are using following code for getting "Figure1" format.
textOnTheRight = new MindFusion.Diagramming.Wpf.Shape( Shapes.Rectangle.Outline,// reuse the rectangular shape null,// no decorations new ElementTemplate[]// define text region { new LineTemplate(25, 19, 90, 19), new LineTemplate(90,19, 90, 79), new LineTemplate(90, 79, 25, 80), new LineTemplate(25, 79, 25, 19) }, FillRule.EvenOdd,// doesn't matter here "TextOnTheRight"// to access the shape later using Shape.FromId );
We want to access the "Target Region" Directly , so that we can set "target regions" background explicitaly.
Please suggest modified code for this.
Thanks and Regards, Anshul
|