Search
ShapeNode.ResizeToFitImage Method
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: 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