|
Group: Forum Members
Posts: 71,
Visits: 1
|
Below I edited the second button, sorry for the typo
private void barButtonItem2_ItemClick(object sender, ItemClickEventArgs e)
{
NFlowChartingShapesFactory factory = new NFlowChartingShapesFactory(nDrawingDocument1);
NShape entityShape = factory.CreateShape(FlowChartingShapes.Process);
entityShape.Bounds = new NRectangleF(100, 100, 200, 100);
entityShape.Text = "my text";
nDrawingDocument1.ActiveLayer.AddChild(entityShape);
}
|