BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Jim
Thanks for using Syncfusion products.
We suggest you to update the shape's "textblock" property in the "updateLabel" API to update the Text node instead of updating the node's Label. Please see the code snippet below.
Code snippet:
function updatelabel() {
var diagram = $("#Diagram1").ejDiagram("instance");
var node = diagram.selectionList[0];
if (node) {
if (node.shape.textBlock) {
//update text node label
diagram.updateLabel(node.name, node.shape.textBlock, { fontSize: 20, fontColor: "red" });
}
}
}
Sample: http://www.syncfusion.com/downloads/support/directtrac/118065/textblock429359551.zip
Please let me know if any concerns.
Regards,
Shyam G
Hi Jim
Thanks for the update
Please let me know if you require further assistance on this.
Regards,
Shyam G