Hi,
1)I am creating symbols by serialization(custom)
2)Once symbol added in the palatte.
User can able to drag and drop on the diagam and set the properties as like labels,fonts,color etc.
3)Suppose user has dropped the symbols(rectangles) all as per his requirements to create chart/flowchart and he started to set the labels.Suppose he don't want to increase the symbol size and also he don't know text which he want to set in the label, in this case if length of text(wchih he going to set label) is sholud warp.
4)Please find the difference between the two pics.
5)How to add the polygon symbol(using serizalisation)in the palette
Thanks and Regards,
Sattar Shaikh
>Hi Sattar ,
Please use the below code snippet to wrap the labels in the Rectangles.
Rectangle m_rect = new Rectangle(60, 80, 120, 60);
this.diagram.Model.AppendChild(m_rect);
Label lbl = new Label();
lbl.Position = Position.Center;
lbl.Text = "Hello \nWorld";
m_rect.Labels.Add(lbl);
Please let me know if you have any questions.
Thanks,
Nagaraj
IssueLabel.zip