ASP.NET Pack Programmer's Guide
ShapeNode.resizeToFitText Method
See Also
 





Makes the shape node big enough to display its text without clipping.

Namespace: MindFusion.Diagramming
Package: ShapeNode.js

 Syntax

JavaScript  Copy Code

function resizeToFitText (fit)

 Parameters

fit

One of the FitSize enumeration values.

 Return Value

true if the node is resized successfully; otherwise, false.

 See Also

ShapeNode Members
ShapeNode Class
MindFusion.Diagramming Namespace
setText Method
setFont Method