Resizes the diagram scrollable area so it fits all diagram items.
VB6 Copy Code |
---|
Public Sub FitDocToObjects( _ |
C++ Copy Code |
---|
public: |
Resizes the document area to be just as big as needed, e.g. the minimal rectangle containing all diagram objects. For aesthetic reasons additional space can be left around the objects as a border. There is no result of invoking the method if the document is empty.
FlowChartX Programmer's Guide | © 2023 MindFusion |