Makes the container node caption big enough to display its text without clipping.
Namespace: MindFusion.Diagramming
Package: ContainerNode.js
JavaScript Copy Code |
---|
function resizeToFitText (fit, [fixPosition, [foldBtnWidth]]) |
FitSize. A member of the FitSize enumeration.
Boolean. Fix the position of the container to the original location. The default is false.
Number. The width of the folder button, if it's not provided, the value from foldIconSize is used.
Boolean. true if the caption is resized successfully, or false otherwise.
NetDiagram Programmer's Guide | © 2023 MindFusion |