Sets a string containing the DiagramItem's text.
Namespace: MindFusion.Diagramming
Package: DiagramItem.js
JavaScript Copy Code |
---|
function setText (value) |
The string to set.
Users can double click an item to edit its text interactively when the AllowInplaceEdit property is enabled. You can trigger the edit operation from a different event handler by calling beginEdit.