Hello, i need to draw a line with the mouse, also add a Label but it does not allow me to draw the Label. My code is:
private void SetComposition(LineBaseTool tool)
{
tool.HeadDecorator.DecoratorShape = DecoratorShape.FilledDiamond;
tool.TailDecorator.Size = new SizeF(12, 12);
this.diagram1.Controller.ActivateTool(tool);
}
call function: SetComposition(new OrthogonalConnectorTool(this.diagram1.Controller));
Draw this:
By i need: