Makes the shape node as big as the image it displays.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public void ResizeToFitImage () |
Visual Basic Copy Code |
---|
Public Sub ResizeToFitImage () |
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.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |