Resizes the diagram scrollable area so it fits all diagram items.
SyntaxVB6
Copy Code
|
|---|
Public Sub FitDocToObjects( _ |
C++
Copy Code
|
|---|
public: |
RemarksResizes 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.
See Also