Sets how the text should be aligned in the ShapeNode's text box.
Namespace: MindFusion.Diagramming
Package: ShapeNode.js
JavaScript Copy Code |
---|
function setTextAlignment (value) |
One of the Alignment enumeration values.
This method sets the vertical alignment of the text drawn in the node.