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





Makes the shape node as big as the image it displays.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void ResizeToFitImage ()

Visual Basic  Copy Code

Public Sub ResizeToFitImage ()

 Remarks

Call this method to make a shape node exactly the same size as the image it contains. The dots-per-inch resolution of the image is considered too when calculating the new node size. Use the Image property to assign an image to a node and ImageAlign to specify position of the image within the node.

 See Also

ShapeNode Members
ShapeNode Class
MindFusion.Diagramming Namespace
ResizeToFitText Method