MindFusion.Diagramming for JavaScript Programmer's Guide

ShapeNode.setTextAlignment Method

See Also
 





Sets how the text should be aligned in the ShapeNode's text box.

Namespace: MindFusion.Diagramming
File: ShapeNode.js

 Syntax

JavaScript  Copy Code

function setTextAlignment (value)

 Parameters

value

One of the Alignment enumeration values.

 Remarks

This method sets the vertical alignment of the text drawn in the node.

 See Also