Makes a table as big as the image it displays.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C#
![]() |
---|
public void ResizeToFitImage () |
Visual Basic
![]() |
---|
Public Sub ResizeToFitImage () |
Call this method to make a table exactly the same size as the image it contains. The dots-per-inch resolution of the image is considered too when calculating the new table size. You can use ImageAlign to specify position of the picture and Image to set the picture itself.
WpfDiagram Programmer's Guide | © 2025 MindFusion |