BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
App.component.html
<ejs-diagram #diagram id="diagram" width="100%" height="499px" [tool]='tool'>
</ejs-diagram>
App.component.ts
public tool: DiagramTools = DiagramTools.ZoomPan;
|
<div>
<button id="changeTool" (click)="changeTool()"> changeTool </button>
</div>
changeTool(): void {
//set ZoomPan tool
this.diagram.tool = DiagramTools.ZoomPan;
this.diagram.dataBind();
}
|