Search
FlowChart.FitDocToObjects Method
See Also
 



Resizes the diagram scrollable area so it fits all diagram items.

 Syntax

VB6  Copy Code

Public Sub FitDocToObjects( _
    ByVal borderGap As Long _
)

C++  Copy Code

public:
void FitDocToObjects (
    int borderGap
)

 Parameters

borderGap
The distance that should be left between the objects and the document bounds.

 Remarks

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.

 See Also