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





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

Namespace: MindFusion.Diagramming
Package: ContainerNode.js

 Syntax

JavaScript  Copy Code

function resizeToFitText (fit, [fixPosition, [foldBtnWidth]])

 Parameters

fit

One of the FitSize enumeration values.

fixPosition
Optional.

Fix the position of the container to the original location. The default is false.

foldBtnWidth
Optional.

The width of the folder button, if it's not provided, the value from FoldIconSize is used.

 Return Value

Type: Boolean
true if the caption is resized successfully; otherwise, false.

 See Also

ContainerNode Members
ContainerNode Class
MindFusion.Diagramming Namespace